# Terraform Cloud Agent

Terraform Cloud Agent is a bridge that lets HashiCorp's Terraform Cloud (now HCP Terraform) securely manage and automate infrastructure inside your private network. It is open source and self-hosted, installable on Docker Hub.

Canonical page: https://ourlocalhost.com/app/6345/terraform-cloud-agent

## Description

Terraform Cloud Agent (tfc-agent) is a bridge that lets HashiCorp's Terraform Cloud (now HCP Terraform) securely manage and automate infrastructure inside your private network. It runs on your own servers and processes Terraform plans and applies there, so you don't need to expose your internal network to the public internet.

## Platform availability

Available on 0 of 6 install platforms.

## Health score

6/100 (Low), based on 3 of 4 factors.
- Maintained: 0 (GitHub repository is archived)
- Popular: 0 (0 GitHub stars)
- Easy to install: 25 (0 install platforms, install notes, Docker image)

## Links

- GitHub: https://github.com/onemedical/tfc-agent-public
- Docker Hub: https://hub.docker.com/r/hashicorp/tfc-agent

## Common questions

### Does a self-hosted tfc-agent need inbound ports from the Terraform Cloud or HCP Terraform web UI?

No. The agent polls HCP Terraform or Terraform Enterprise for changes and executes them locally, so public ingress traffic is not required.

### How do API-triggered runs and OIDC work with tfc-agent in GitHub Actions?

For GitHub Actions, TFC agent polling is the relevant agent model, and API-triggered runs with OIDC interact asynchronously with it.

### How can I run scripts after each Terraform job on a tfc-agent?

Use agent hooks to run pre-plan, post-plan, pre-apply, and post-apply scripts around each job.

### How can I reduce repeated large provider downloads for a Kubernetes-deployed tfc-agent?

Use provider caching with the tfc-agent so providers are not downloaded repeatedly, reducing Terraform run networking and provider download size.

## Alternatives

- Anytxt Desktop Search
- DocFetcher: DocFetcher is an Open Source desktop search application: It allows you to search the contents of files on your computer.
- Everything: Locate files and folders by filename on Windows instantly, displaying all items on NTFS volumes and mapped network drives.
- FSearch: FSearch is a fast file search utility for GNU/Linux operating systems, inspired by Everything Search Engine.
- FileLocator
- Hister: Your own search engine
- SearchMyFiles: SearchMyFiles is a non-indexing portable alternative to the standard &quot;Search For Files And Folders&quot; module of Windows.
- agent: Agent is a private personal assistant you run on your own hardware.
- grep
- ripgrep

---
Source: Our Local Host (https://ourlocalhost.com/app/6345/terraform-cloud-agent), the self-hosted and open-source app directory.
