OpenTofu
The open source fork of Terraform, created in 2023 after the licence change and governed by a foundation rather than one company.
In more detail
OpenTofu was forked from the last Terraform release under the Mozilla Public License and reached its first stable release, 1.6.0, in January 2024. It is hosted by the Linux Foundation and keeps the MPL 2.0 licence. It started as a drop-in replacement with the command tofu instead of terraform, and has since added its own features such as state encryption, so the two are slowly diverging.
Examples
tofu versionterraform versionRelated terms
- Terraform — An infrastructure-as-code tool from HashiCorp that creates and changes cloud resources such as servers, networks and databases from configuration files.
- fork — A copy of someone else's repository made on a hosting service such as GitHub, under your own account, so you can push to it.
- Mozilla Public License — An open source licence from Mozilla that Terraform used until August 2023 and that OpenTofu still uses.
- Business Source License — The source-available licence Terraform has used since August 2023, which forbids offering a competing product built on it.
Taught in
- The Licence, OpenTofu And IBM — Infrastructure as Code with Terraform
- Installing Terraform And Meeting The CLI — Infrastructure as Code with Terraform
- A New Depot By Friday: OpenTofu, Cloud-init, Pipelines And Kubernetes — CompTIA Linux+ (XK0-006) Exam Prep