IBM Support

Required Network Endpoints for Terraform Enterprise Behind a Proxy

Troubleshooting


Problem

When running Terraform Enterprise (TFE) behind a corporate proxy in a Flexible Deployment Option (FDO) with Docker Compose, outbound network requests may fail if required endpoints are not whitelisted. This can cause Terraform runs to hang or fail when downloading providers, modules, or verifying licenses.

This article lists the required network endpoints that must be accessible for Terraform Enterprise to function correctly behind a proxy.

You may encounter the following issues:

  • Terraform runs remain in a stuck or failed state.
  • Provider or module downloads fail with errors similar to the following.
Error: Failed to install provider
could not query provider registry for registry.terraform.io

Cause

Terraform Enterprise relies on several external services for core operations, including:

  • Downloading Terraform CLI binaries.
  • Downloading providers and modules from registries.
  • Accessing Version Control Systems (VCS) like GitHub, GitLab, Bitbucket, and Azure DevOps.
  • Validating licenses and performing telemetry (if enabled).

If the proxy or firewall blocks access to these required endpoints, TFE cannot complete Terraform runs successfully.

Solution

To resolve this issue, you must ensure all required external endpoints are whitelisted in your proxy and firewall configurations.

Step 1: Whitelist Required Endpoints

Ensure the following domains are allowed for outbound traffic from your Terraform Enterprise installation.

PurposeEndpoint(s)
Terraform CLI & Provider Downloadshttps://releases.hashicorp.com/
Terraform Provider Registryhttps://registry.terraform.io/
GitHub Release Assets (for community providers)https://github.com/ and https://objects.githubusercontent.com/
HCP Terraform/Enterprise Communicationhttps://app.terraform.io/
AWS Provider Dependencieshttps://sts.amazonaws.com/ and region-specific endpoints (e.g., https://sts.us-east-1.amazonaws.com/)
GCP Provider Dependencieshttps://www.googleapis.com/
Azure Provider Dependencieshttps://management.azure.com/ and https://login.microsoftonline.com/
VCS Integration (if applicable)Your organization’s VCS provider endpoints (e.g., https://dev.azure.com/, https://gitlab.com/, https://bitbucket.org/)

Step 2: Validate Connectivity

After updating your whitelist, validate connectivity by running a test command from within a TFE container. This confirms that the container can reach a critical external service.

  1. Execute a curl command from the tfe-worker container.

    $ docker exec -it <tfe_worker_container> curl -I https://registry.terraform.io/
  2. Confirm that the command returns a successful HTTP status code.

    HTTP/2 200
    ## ...

Additional Information

For a comprehensive list of networking requirements, refer to the official Terraform Enterprise Network Requirements documentation.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSGH5YK","label":"IBM Terraform Self-Managed"},"ARM Category":[{"code":"a8mgJ0000000DoZQAU","label":"Terraform-\u003ENetworking"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.0.0;1.0.1;1.0.2;1.0.3;1.1.0;1.1.1;1.1.2;1.1.3;1.1.4;1.2.0;1.2.1;1.2.2;2.0.0;2.0.1;2.0.2;2.0.3;2025.03;2025.04;2025.05;2025.06;2025.07"}]

Historical Number

44558203987347

Document Information

Modified date:
26 August 2026

UID

ibm17266012