» Terraform Cloud Agents on TFE
Terraform Cloud Agents allow Terraform Enterprise to communicate with isolated, private, or on-premises infrastructure. By deploying lightweight agents within a specific network segment, you can establish a simple connection between your environment and Terraform Enterprise which allows for provisioning operations and management.
Terraform Cloud Agents on TFE behave very similarly to Terraform Cloud Agents on TFC, with a few exceptions listed below.
Note: Terraform Cloud Agents on TFE are available in TFE releases
» Differences Between Agents on TFC and TFE
No restriction on Agent or Agent Pool Count: Terraform Enterprise does not place a limitation on the number of Agent Pools that can be created per organization, or the number of Agents that may register themselves with a given pool.
Hostname Registration: Terraform Cloud Agents registering with a TFE instance must define the TFE hostname via the
-addressCLI flag or
TFC_ADDRESSenvironment variable when running
tfc-agent. By default,
tfc-agentwill attempt to connect to Terraform Cloud, so this value must be explicitly defined when registering with a TFE instance.
Custom Bundle Support: Terraform Cloud Agents on TFE support custom Terraform bundles. Custom bundles are created and defined within the TFE application; Agents will download the custom bundle based on the Terraform version information. See using a custom Terraform bundle for more detail on custom bundles in TFE.
Network Access Requirements: Terraform Cloud Agents on TFE must be able to communicate with the TFE instance via HTTPS. Additionally, the agent must also be able to communicate with any services required by the Terraform code it is executing. This includes the Terraform releases distribution service, releases.hashicorp.com, as well as the Terraform provider registry. Agents executing in a workspace that leverage a Terraform version that provides a custom Terraform bundle with pre-existing provider binaries do not need access to these resources.