This page demonstrates how to create an Ocean GKE Custom Launch Specification Import resource using the Spotinst Terraform plugin.

This post assumes that you already have a Spotinst account and went through Spotinst Terraform Installation & Configuration

Example Usage – Ocean GKE Launch Specification
resource "spotinst_ocean_gke_launch_spec_import" "example" {
  ocean_id        = "o-123456"
  node_pool_name  = "default-pool"



Argument Reference

Parameter Type Description
ocean_id * String

The Ocean cluster ID required for launchSpec create.

Example: o-123456
node_pool_name * String

The node pool you wish to use in your launchSpec.

Example: default-pool