# Self-hosted alternatives to HCP Terraform

The best self-hosted alternative to HCP Terraform is terrateam (highest rated, 1 327 stars).

> 1 self-hostable, open-source alternative to HCP Terraform, ranked by score.

- [terrateam](https://selfhost.directory/project/terrateam): Stategraph is infrastructure-as-code automation for teams that drive Terraform or OpenTofu through pull requests.

## Also in CI/CD

Not listed as HCP Terraform alternatives, but from the same category:

- [Digger](https://selfhost.directory/project/digger): Open-source Terraform CI/CD that plans and applies inside your existing CI, with PR comments, drift detection, OPA policies and a self-hosted orchestrator backend.
- [doco-cd](https://selfhost.directory/project/doco-cd): A self-hosted GitOps tool that automatically deploys Docker Compose projects and Swarm stacks when code is pushed to Git, using webhooks or scheduled polling.
- [github-act-runner](https://selfhost.directory/project/github-act-runner): A self-hosted GitHub Actions runner that uses nektos/act to execute workflows, supporting more platforms like FreeBSD and running without Docker.
- [Inertia](https://selfhost.directory/project/inertia): Inertia is an open-source, self-hosted continuous deployment platform for small teams with a CLI and daemon that automates Docker deployments to any VPS via webhooks.
- [jenkins](https://selfhost.directory/project/jenkins): Self-hosted open-source automation server for CI/CD: Pipeline (Jenkinsfile) builds, 2300+ plugins, distributed agents; runs via WAR, Docker, packages.
- [Argo CD](https://selfhost.directory/project/argo-cd): Open-source, self-hosted GitOps CD for Kubernetes that keeps clusters in sync with Kustomize, Helm, Jsonnet or YAML manifests in Git, with web UI, CLI, SSO and RBAC.

All 65 CI/CD projects: https://selfhost.directory/cicd

## About these HCP Terraform alternatives

1 open-source, self-hosted alternatives to HCP Terraform are listed here, ranked by popularity, maintenance and documentation.

- **Highest rated:** terrateam (1 327 GitHub stars, MPL-2.0 license, written in OCaml)
- **Docker:** 1 of the top 1 ship an official Docker image
- **Recently updated:** terrateam 3.2.40 on 2026-11-20

### HCP Terraform alternatives compared

| Project | License | Language | Stars | Docker | Setup | Latest release | Score |
|---|---|---|---:|---|---|---|---:|
| [terrateam](https://selfhost.directory/project/terrateam) | MPL-2.0 | OCaml | 1 327 | Yes | Moderate | 3.2.40 2026-11-20 | 55 |

---
Source: https://selfhost.directory/alternative-to/hcp-terraform