OpenTofu
Also known as: OpenTF
Open-source infrastructure-as-code tool forked from Terraform in 2023 after HashiCorp moved Terraform to a source-available license.
OpenTofu is a free and open-source infrastructure as code tool that began as a community fork of Terraform. It reads the same style of declarative configuration written in HashiCorp Configuration Language, uses the same provider plugin model and was designed as a drop-in replacement for Terraform 1.5, the last release under an open-source license. Users describe cloud and on-premises resources in text files, preview the changes with a plan command and apply them, while a state file records what has been created.
The project originated in August 2023, after HashiCorp moved Terraform to the Business Source License. A group of companies and individual contributors published a manifesto asking HashiCorp to reverse the change and, when it did not, forked the last openly licensed code under the name OpenTF. The project was renamed OpenTofu and placed under the Linux Foundation in September 2023, and its first stable release followed in January 2024. It has since added features of its own, such as client-side encryption of state files.
OpenTofu is licensed under the Mozilla Public License 2.0 and developed under open governance with a technical steering committee drawn from several companies, so no single vendor controls its direction. Organizations that require an open-source license or want to avoid vendor Lock-In often treat it as the continuation of open Terraform. It is a frequently cited example of a license-driven fork. Compatibility with Terraform configurations and providers is high, although the two projects have added different features since the split.
Key points
- OpenTofu forked the last MPL-licensed Terraform code after HashiCorp's 2023 license change.
- It aims for compatibility with existing Terraform configurations, providers and modules.
- The project is hosted under the Linux Foundation and licensed under the Mozilla Public License 2.0.
- OpenTofu has added its own features, including client-side encryption of state files.
Related entries
Terraform
Infrastructure-as-code tool from HashiCorp that provisions cloud and on-premises resources from declarative configuration files.
Infrastructure as Code
Practice of defining and provisioning servers, networks and other infrastructure through machine-readable files rather than manual configuration.
Linux Foundation
Nonprofit consortium that supports the Linux kernel and hosts many major open-source projects, foundations, events and training programs.
Fork (Software)
Independent line of development created by copying a project's source code and evolving it separately from the original.
Structures and processes that determine how decisions are made, who holds authority and how conflicts are resolved in open-source projects.
Open Core
Business model in which a company offers a core software product as open source while selling proprietary features, editions or services around it.
Ansible
Open-source, agentless automation tool that configures servers, deploys software and orchestrates IT tasks using YAML playbooks run over SSH.