Problem
You need to obtain a list of static IP addresses for HCP Terraform's public agent workers, often for network security purposes such as creating an allow-list.
Recommendation
HCP Terraform does not publish a list of static IP addresses for its public agent workers because their IPs are dynamic. The IP Ranges API provides addresses for other HCP Terraform services but does not include the IPs for the agent workers.
For use cases that require controlled network access, the recommended solution is to use self-hosted HCP Terraform agents. By deploying lightweight agents within your private network, you establish a secure connection between your environment and HCP Terraform, which allows for provisioning operations with predictable network egress points.