1. Generate Token

Generate a Spotinst API Token 

2. Create and manage templates integrating with Spotinst Lambda

For each custom resource created by Spotinst Lambda function, the following steps need to be configured:

  1. Resource type – “Custom::elasticgroup“. For other Spotinst services, check the resource type in the resources section
  2. Service Token – use the Spotinst Lambda. For example:

Note: For other regions, only change the region name as marked in bold in the above example.

  1. Access Token – Use your Spotinst API access token from the previous section.
  2. Account ID – your Spotinst account ID. If you have only one account in your organization, this is not mandatory.