Terraform alternatives compared
| Project | Licence | Type | Self-host | Cloud option | GitHub stars |
|---|---|---|---|---|---|
| OpenTofu | MPL-2.0 | Developer tool | — | — | ★ 31.1k |
The 1 open source alternatives to Terraform
OpenTofu was created in 2023 when HashiCorp changed Terraform's licence. It is a drop-in replacement for Terraform, run by the Linux Foundation, and has since added features such as state encryption.
- Drop-in Terraform replacement
- End-to-end state encryption
- Linux Foundation project
- Compatible with Terraform providers
How to choose an open source alternative to Terraform
Look for drop-in compatibility with your existing Terraform code, state files and providers.
Not sure where to start? Browse all developer tools projects.
Terraform alternatives: FAQ
What is the best open source alternative to Terraform?
OpenTofu is the most complete open source alternative to Terraform on our list. The best choice depends on what you need: Look for drop-in compatibility with your existing Terraform code, state files and providers.
Is there a free alternative to Terraform?
Yes. Every alternative listed here is open source, so the software itself is free to use.
Why switch from Terraform to open source software?
Terraform is proprietary software owned by HashiCorp (IBM): you can't see the code, and pricing, features and terms can change at any time. Open source alternatives publish their code under licences such as MPL-2.0, can be audited by anyone, and can't lock you in, because the software can always be forked or self-hosted.