fbpx

Create an Ocean Launch Spec with the following CF template

The full body attributes list is available on our main creation page

Request

Body
Copied!
Downloaded!
{
  "Resources": {
    "SpotinstOcean": {
      "Type": "Custom::oceanLaunchSpec",
      "Properties": {
        "ServiceToken": {
          "AWS::Sub": ["arn:aws:lambda:${Region}:178579023202:function:spotinst-cloudformation"]
        },
        "accessToken": "YOUR TOKEN",
        "accountId": "YOUR ACCOUNT ID",
        "oceanLaunchSpec":{
          "oceanId": "",
          "imageId": "",
          "userData": "",
          "labels":[
            {
              "key": "",
              "value": ""
            }
          ],
          "taints":[
            {
              "key": "",
              "value": "",
              "effect": ""
            }
          ]
        }
      }
    }
  }
}