Scenario
We often get common inquiries to provide IPs used by terraform cloud remote agents, typically for network security purposes for example to add them to a whitelist.
Recommendation
Currently, a list of static IP addresses for the Terraform Cloud Agent workers as they are dynamic is not something that is available for publishing. These IP Ranges API does not include IPs for the Terraform Cloud agent workers.
A recommended solution in cases where users have network-level security concerns is the utilization of self-hosted Terraform Cloud agents instead. By deploying lightweight agents within a specific network segment, you can establish a simple connection between your environment and Terraform Cloud which allows for provisioning operations and controlled network management.
Additional Information
- For additional assistance please contact HashiCorp Support.