Terraform Cloud

Terraform Cloud is an application that helps teams use Terraform together. It manages Terraform runs in a consistent and reliable environment, and includes easy access to shared state and secret data, access controls for approving changes to infrastructure, a private registry for sharing Terraform modules, detailed policy controls for governing the contents of Terraform configurations, and more.

You will be using Terraform Cloud to store the Terraform state of the infrastructures your pipeline will provision and deploy using Terraform in future modules.

Create Terraform Cloud Access Token

  1. Create a Terraform Cloud account
  2. Create a new Terraform Cloud organization
  3. Create a new Terraform Cloud workspace named: arm-aws-ecs
  4. Click the CLI-driven workflow option
  5. In the workspace, click arm-aws-ecs > Settings > General then enable local execution mode
  6. Go to the User Settings section in the Terraform Cloud Dashboard
  7. In the User Settings section, Create a new Terraform API token then copy and paste the token in a secure location for later use.

Your Terraform Cloud API token must be protected and not shared with unauthorized parties to prevent exposure and unauthorized access.

Great, you have created and safely stored your newly created Terraform Cloud API Token, Now, we can create AWS access keys and secrets.