Terraform cloud workers ip range

I wish to set aws sg for API/Provider I own. For that, I need the CIDR expression for terraform cloud workers. Couldn’t find it online. Is there such a thing?
If not, shouldn’t there be an option?

Hi @eytannnaim,

The hosted workers are applicable only for accessing services that are generally available on the internet, such as the API provided by cloud platforms. There are no guarantees about which IP addresses they will use when making outgoing requests.

If you need to access private services that should not be generally available then the appropriate solution is Terraform Cloud Agents, which allows you to run Terraform Cloud workloads on a system you control, meaning that you can if needed guarantee it connects from a predicable IP address, predicable EC2 security group, or whatever other guarantees you might need in your situation.

1 Like