Open Source Terraform Alternatives
4 alternatives · Data checked
·
By Alston Antony, founder & editor · DevOps and infrastructure automation
The best open source alternative to Terraform is terrapod. It replaces Terraform Cloud or Enterprise, runs on Kubernetes with RBAC and OPA, and covers 89.3% of the feature set. For a different model, Formance finds existing cloud resources without a state file. oxid is a Rust engine that is compatible with Terraform.
Best overall
Best for: Teams that want a self-hosted Terraform Cloud/Enterprise replacement with RBAC and OPA on Kubernetes
Pick #2
Best for: Teams that want IaC that discovers existing cloud resources and has no state file to manage
Pick #3
Best for: Users who want a Rust Terraform-compatible engine with SQL-queryable state and no binary
Why people leave Terraform
Terraform is an infrastructure as code tool that lets you describe cloud and on-prem resources in declarative configuration files written in HCL. Platform and DevOps teams use it to provision resources across many clouds through a large set of providers. You can preview changes with a plan before applying them, reuse configuration through modules, and pull modules from a public registry. It is driven from a command-line interface and an API, and it fits into automation pipelines. A free CLI is available, with hosted services sold separately.
- License change away from open source. Terraform moved to a source-available license, which concerns teams that need a fully open license. OpenTofu and similar forks keep an open license.
- Hosted features cost extra. Team features like RBAC, SSO, audit logs, and managed runs come with the paid hosted platform. Open tools offer ways to self-host some of these.
- Vendor control over the roadmap. A single company decides the direction of the tool and the registry. A community-governed project gives you more say and fewer surprises.
- HCL is a domain-specific language. Some teams prefer writing infrastructure in a general-purpose language they already use, which some open source tools allow.
Quick comparison
| # | Alternative | License | Stars | Health | Platforms | Fit | Parity | Migration | Imports from Terraform |
|---|---|---|---|---|---|---|---|---|---|
| 1 | terrapod | Weak copyleft | 268 | Thriving | – | Self-hosted equivalent | 89% | Easy | Yes |
| 2 | Formance | Permissive | 781 | Active | – | Direct replacement | 68% | Moderate | – |
| 3 | oxid | Permissive | 72 | Slowing | – | Direct replacement | 64% | Easy | Yes |
| 4 | OTF | Weak copyleft | 708 | Slowing | – | Self-hosted equivalent | 0% | Moderate | – |
Fit = how much of Terraform's job the tool replaces. Parity = share of Terraform's core features the tool covers fully. Migration = effort to move your data and team over. Health and stars from November 24, 2026. How we rank.
The 4 best open source Terraform alternatives
- 1
terrapod
Self-hosted Terraform Cloud alternative for Kubernetes teams using OpenTofu and OPA
268 Thriving 79 Weak copyleft Self-hosted equivalentterrapod replaces Terraform Cloud or Enterprise, not the CLI. It runs on Kubernetes with RBAC and OPA, and parity is 89.3%. It still calls terraform or tofu binaries, and only part of the TFE V2 API exists. It has 267 stars.
Strengths
- Implements the TFE API slice the CLI uses, so existing cloud blocks usually move over
- 50 RBAC capabilities across 14 resource kinds
- OPA/Rego policy-as-code plus private module and provider registry
make evalstarts a local test cluster with a seeded sample workspace
Trade-offs
- Not a provider engine; orchestrates terraform/tofu binaries
- Only a slice of the TFE V2 API is implemented
- Requires Kubernetes, though a single-node k3s VM is enough
- Pulumi and Ansible support is only in the 2.0 pre-release
- Best for
- Teams that want a self-hosted Terraform Cloud/Enterprise replacement with RBAC and OPA on Kubernetes
- Fit
- Self-hosted equivalent · 89% feature parity
- Health
- 79/100 (Thriving) · breakdown
- License
- Weak copyleft (OSI) (MPL-2.0)
- Hosting
- Self-hosted
- Migration
- Easy · imports from Terraform
- Last commit
- Nov 2026
Feature parity with Terraform · 89%
- Yes Declarative infrastructure as code
- Yes Multi-cloud provider support
- Yes Plan and preview changes
- Yes Remote state management
- Yes Reusable modules and registry
- Yes VCS and CI/CD integration
- Partly Secrets and variable management
- Yes API and CLI automation
Quick start
git clone https://github.com/mattrobinsonsre/terrapod && cd terrapod make eval # create a local cluster + install Terrapod, then port-forward - 2
Formance
Infrastructure as code tool that discovers running cloud resources and needs no state file
781 Active 73 Permissive Direct replacementFormance discovers existing cloud resources and needs no state file, which is a different model from Terraform. Parity is 67.9% and it has 782 stars. The open edition lacks a policy engine, SSO and RBAC, and its provider ecosystem is smaller.
Strengths
- Scans accounts and clusters every 10 minutes by default and records unmanaged resources
- No state file to manage
- Extract generates Pkl code from running resources
- Reconcile mode makes you absorb or revert recorded drift
Trade-offs
- No policy engine or SSO/RBAC in the open edition
- No cost estimation
- Smaller provider ecosystem than Terraform
- Written in Pkl, which most teams must learn
- Best for
- Teams that want IaC that discovers existing cloud resources and has no state file to manage
- Fit
- Direct replacement · 68% feature parity
- Health
- 73/100 (Active) · breakdown
- License
- Permissive (OSI) (MIT)
- Hosting
- Cloud from $25/mo
- Migration
- Moderate
- Last commit
- Nov 2026
Feature parity with Terraform · 68%
- Yes Declarative infrastructure as code
- Yes Multi-cloud provider support
- Yes Plan and preview changes
- Partly Remote state management
- Yes Drift detection
- Yes API and CLI automation
Quick start
/bin/bash -c "$(curl -fsSL https://hub.platform.engineering/get/formae.sh)" export PATH=/opt/pel/bin:$PATH formae --version - 3
oxid
Rust IaC engine that reads your .tf files and keeps state in SQLite or PostgreSQL
72 Slowing 50 Permissive Direct replacementoxid is a Rust engine compatible with Terraform, with SQL-queryable state and no binary to install. Migration is easy, but it has only 72 stars and its last commit was in June 2026. Parity is 64.3%, and it has no registry, RBAC or policy engine.
Strengths
- Reads existing .tf, .tfvars and TF_VAR_* inputs without changes
- Talks to providers over gRPC with no Terraform binary needed
- State in SQLite or PostgreSQL, queryable with SQL
- Built-in drift, blast-radius and per-resource history commands
Trade-offs
- No registry, RBAC/SSO or hosted run platform
- Fewer providers verified than Terraform ecosystem
- No policy engine or cost estimation
- Maintenance is slowing and recent commit activity is thin
- Best for
- Users who want a Rust Terraform-compatible engine with SQL-queryable state and no binary
- Fit
- Direct replacement · 64% feature parity
- Health
- 50/100 (Slowing) · breakdown
- License
- Permissive (OSI) (Apache-2.0)
- Hosting
- Desktop / local
- Migration
- Easy · imports from Terraform
- Last commit
- Jun 2026
Feature parity with Terraform · 64%
- Yes Declarative infrastructure as code
- Yes Multi-cloud provider support
- Yes Plan and preview changes
- Partly Remote state management
- Partly Secrets and variable management
- Yes Drift detection
- Partly API and CLI automation
Quick start
curl -fsSL https://raw.githubusercontent.com/ops0-ai/oxid/main/install.sh | bash - 4
OTF
Self-hosted Terraform Enterprise alternative with SSO, teams and agents, no per-resource
708 Slowing 50 Weak copyleft Self-hosted equivalentOTF is a self-hosted Terraform Enterprise stand-in with SSO and no per-resource pricing. It still runs Terraform or OpenTofu binaries underneath. It has 708 stars, but its last commit was in July 2026 and maintenance is slowing. It has no cost estimation.
Strengths
- No per-resource pricing
- Includes SSO and team management
- Agents run workloads separately from the server
- Docker image available
Trade-offs
- Still runs Terraform or OpenTofu binaries
- No cost estimation
- No module registry beyond Terraform's
- Smaller policy and drift tooling than Terraform Enterprise
- Best for
- Teams wanting a self-hosted Terraform Enterprise replacement with SSO and no per-resource pricing
- Fit
- Self-hosted equivalent · 0% feature parity
- Health
- 50/100 (Slowing) · breakdown
- License
- Weak copyleft (OSI) (MPL-2.0)
- Hosting
- Self-hosted
- Migration
- Moderate
- Last commit
- Jul 2026
Feature parity: Terraform vs the top 4
| Feature | Terraform | terrapod | Formance | oxid | OTF |
|---|---|---|---|---|---|
| Declarative infrastructure as code | Yes | Yes | Yes | Yes | – |
| Multi-cloud provider support | Yes | Yes | Yes | Yes | – |
| Plan and preview changes | Yes | Yes | Yes | Yes | – |
| Remote state management | Partly | Yes | Partly | Partly | – |
| Reusable modules and registry | Yes | Yes | – | – | – |
| VCS and CI/CD integration | Partly | Yes | – | – | – |
| Secrets and variable management | Partly | Partly | – | Partly | – |
| Drift detection | Partly | – | Yes | Yes | – |
| API and CLI automation | Yes | Yes | Yes | Partly | – |
yes · partly · no · – not checked.
Cost to switch
What Terraform costs your team in a year, against running an open source alternative yourself.
Enter Terraform's price per seat to compare.
Server prices are typical monthly VPS prices for the RAM the tool needs (2 GB when unknown). Your time to run and update it is not included.
How to choose
You want to self-host a Terraform Cloud or Enterprise replacement with RBAC and policy checks on Kubernetes
→ terrapod
It runs on Kubernetes with RBAC and OPA, and it imports from Terraform with easy migration.
You want IaC that discovers existing cloud resources and avoids managing a state file
→ Formance
It discovers resources already running in your cloud and needs no state file, though the open edition lacks RBAC, SSO and a policy engine.
You want a Terraform-compatible engine that ships without a separate binary and lets you query state with SQL
→ oxid
It is written in Rust, imports from Terraform and has easy migration, but it has no registry, RBAC or policy engine.
You need SSO on a self-hosted Terraform Enterprise stand-in and want to avoid per-resource pricing
→ OTF
It is self-hosted with SSO and runs Terraform or OpenTofu binaries underneath, but it has no cost estimation.
Moving off Terraform
- terrapod and oxid import from Terraform directly, and both rate migration as easy. OTF and Formance rate it moderate.
- terrapod and OTF still call terraform or tofu binaries, so your existing HCL configuration and modules keep working. They replace the hosted service, not the CLI.
- Formance uses a different model with no state file, so expect to rewrite your configuration rather than convert it.
- Policy rules, SSO, RBAC and cost estimation do not carry over automatically. Rebuild them by hand, for example as OPA policies in terrapod.
Frequently asked questions
What is the best open source alternative to Terraform?
terrapod ranks first. It is a self-hosted replacement for Terraform Cloud or Enterprise with RBAC and OPA on Kubernetes, and it has 89.3% feature parity.
Is there a free open source alternative to Terraform?
Yes. terrapod, Formance, oxid and OTF are all open source. Terraform's own CLI is also free, so the alternatives mostly matter if you want an open source license or a replacement for the hosted services.
Which Terraform alternatives can I self-host?
terrapod and OTF are both self-hostable. Both replace the hosted Terraform Cloud or Enterprise layer, and both run Terraform or OpenTofu binaries underneath.
Can I import my Terraform setup into an alternative?
terrapod and oxid import from Terraform, and both rate migration as easy. OTF and Formance rate migration as moderate.
Which alternative needs no state file?
Formance. It discovers existing cloud resources instead of tracking them in a state file. Its provider ecosystem is smaller than Terraform's.
2026 edition. Rankings use fit, health, license and popularity; sponsors never change the order. Methodology · Report an error.