AutoCloud Terraform Provider Authentication
In order to use the AutoCloud Terraform Provider to create new blueprints in your IaC catalog, you must provide the Terraform Provider with an authentication token. You can create a new authentication token in the AutoCloud app at Settings > Service Accounts
- Create a Service Account using CREATE and add Name, Description and assign it to a Group.
2. Generate a token for the Service Account using the ... menu, and set an expiration date. You will be allowed to copy it only once! To learn more about creating and using AutoCloud's Terraform Provider auth tokens, click here.
Once you have created your Terraform Provider Authentication Token, it can be used to authenticate with the AutoCloud API. Below is an example code block on how to configure the AutoCloud Terraform Provider with your authentication token.
The authentication token is a secret value, we suggest you do NOT store this token within source control and use an ENV variable to pass its value to the provider. In order to set the authentication token from the ENV, place the token value within the ENV variable AUTOCLOUD_TOKEN and omit that property from the provider configuration block like so: