OpenTofu: open-source infrastructure as code
OpenTofu is the community fork of Terraform under the MPL-2.0 license, run as a Linux Foundation project. It uses the same configuration language and providers.
Not checked by a trusted editor yet Last edited Outdated?
opentofu/opentofu
- Stars
- 30.5k
- Forks
- 1.4k
- Language
- Go
- Licence
- MPL-2.0
- Last push
- 15 Oct 2026
On GitHub: OpenTofu lets you declaratively manage your cloud infrastructure.
Open on GitHubOpenTofu was forked from Terraform after HashiCorp changed Terraform’s license to the Business Source License. The repository is licensed under MPL-2.0 and developed in the open under the Linux Foundation, with a steering committee for larger decisions.
The command is tofu, with the familiar subcommands init, plan, apply and destroy. It reads .tf files and works with the existing provider ecosystem. OpenTofu-specific features include client-side encryption of state and plan files.
The repository holds the Go source, issue tracker and RFC process. Installation packages and the documentation are linked from the project website, opentofu.org.
See also
- 0187 Terraform concepts: providers, state, plan and apply, modules, and OpenTofu Terraform describes infrastructure in code, compares it with what exists, and changes only the difference. Learn providers, resources, state, the plan/apply loop,… Beginner · Concept · Any system Article Terraform 15 Oct 2026
- 0188 First Terraform configuration: variables, a module and outputs (no cloud needed) A complete Terraform project that writes local files with the hashicorp/local provider, so you can practice init, plan, apply, modules and destroy… Intermediate · How-to · Any system Script Terraform 15 Oct 2026
- 0189 Terraform remote state: backends, locking and migrating local state Move Terraform state from a local file into a shared backend such as S3 with locking, so a team can work safely.… Advanced · How-to · Any system Article Terraform 15 Oct 2026
- 0190 Fix: Terraform Error acquiring the state lock Another run holds the lock on your Terraform state, or a crashed run left it behind. Find out who holds it, wait… Advanced · Fix · Any system Article Terraform 15 Oct 2026
- 0256 Manage infrastructure as code with Terraform: from first file to plans on pull requests Learn the full Terraform workflow without a cloud account: variables, a module, outputs, state, plan, apply and destroy, a backend for shared… Beginner · Tutorial · Linux, macOS, Windows Article GitHub Actions · Terraform 15 Oct 2026
History
Every saved edit is kept. The plot on the sleeve draws one line per edit. Open any edit to see exactly what changed.
- Commitpedia +653 chars