This solution creates self-hosted HashiCorp Cloud Platform (HCP) Terraform agent on Amazon ECS cluster. HCP Terraform allows you to manage isolated, private, or on-premises infrastructure using self-hosted HCP Terraform agents. The agent polls HCP Terraform or HCP Terraform Enterprise for any changes to your configuration and executes the changes locally, so you do not need to allow public ingress traffic to your resources. Agents allow you to control infrastructure in private environments without modifying your network perimeter.
To use this module you need to have the following:
- HashiCorp Cloud Platform (HCP) Terraform subscription
- Terraform API token with permission to create Terraform agent pool
- AWS account and credentials to provision resources as mentioned below.
- VPC with private subnets
Please refer to the examples on how to get started.