PROVIDER Β· The open-governed Terraform fork
OpenTofu
OpenTofu is the Linux Foundation hosted Terraform fork under MPL 2.0 that stays compatible with Terraform 1.5 configuration and state while adding state encryption and other enterprise-relevant capabilities.
Pros
Cons
Product Information
Detailed Notes
Overview
OpenTofu was forked from Terraform by the community in 2023 after HashiCorp moved Terraform's licence from MPL to BUSL, hosted by the Linux Foundation under MPL 2.0 with the goal of staying compatible with Terraform 1.5 configuration and state files.
For Developer Tools work the value is licensing certainty and cost, since it is fully open source without commercial restrictions for embedding IaC into products or delivering to customers, existing Terraform configurations largely switch directly through provider mirrors, and state encryption adds an enterprise-relevant capability.
Assess ecosystem maturity, because modules and examples still trail Terraform with some third-party providers community-maintained, commercial support options are fewer, and feature divergence from new Terraform releases widens over time, so track the roadmap.
Core Strengths
- MPL 2.0 licensing allows commercial use and redistribution without BUSL limits
- Compatible with Terraform 1.5 HCL configuration and state for low migration cost
- Native state encryption through KMS or PBKDF2 improves compliance
- Linux Foundation governance with a public roadmap
Product Ecosystem
Configuration and state
Keeps HCL syntax and .tf layout so tofu init, plan, and apply work on existing projects.
State encryption
AES-GCM with external KMS or passphrase-derived keys prevents leaking secrets in state files.
Registry and providers
The OpenTofu Registry mirrors mainstream providers with configurable source switching.
Drawbacks
- Fewer modules and examples overall than Terraform
- Some third-party providers update slowly with community maintenance
- Fewer commercial support and professional services options
- Feature divergence from newer Terraform releases will widen
Use Cases
- Drop-in replacement for Terraform (β β β β β ) - Compatible configuration and state
- Licence-sensitive commercial delivery (β β β β β ) - MPL 2.0 without usage limits
- Compliance needing state encryption (β β β β ) - Native KMS encryption
- Depending on the newest Terraform features (β β ) - Features may lag
Pricing
| Plan | Price | Scope |
|---|---|---|
| OpenTofu open source | $0 | MPL 2.0, entirely free |
| Third-party managed services | Usage based | Cloud vendor OpenTofu offerings |
| Commercial support | Contract quoted | Provided by service partners |
Entirely free without usage limits, with cost only in the state backend and staff, and against Terraform Cloud's per-resource billing, OpenTofu with a self-managed backend clearly wins at large resource counts.
FAQ
-
Can projects switch from Terraform directly? Most can by swapping the binary and configuring a registry mirror, since HCL and state stay compatible, though validate with a plan in non-production first.
-
How is state migrated? The format is compatible so OpenTofu reads it directly, but back up first and pin versions to avoid concurrent writes.
-
Which is the better long-term bet? OpenTofu for licence freedom without single-vendor dependency, Terraform for the fullest ecosystem and commercial options.
Articles
- 01 GitLab CI/CD Best Practices: From Beginner to Production-Grade Pipelines 07-18
- 02 Prometheus Monitoring System Setup: From Metric Collection to Alert Notifications 07-18
- 03 'Ansible Automation Ops Guide: From Configuration Management to Application 07-18
- 04 Docker Beginner Tutorial: From Installation to Containerized Web Deployment 07-18
- 05 API Integration Guide: REST vs GraphQL Comparison and Selection 07-18
- 06 GitHub Actions CI/CD Tutorial: Automated Build, Test, and Deployment 07-18
- 07 Docker Compose Multi-Container Deployment: Building Complete Application Orchestration 07-18
- 08 Kubernetes Deployment Guide for Beginners: Building a K8s Cluster from Scratch 07-18
- 09 Best VS Code Extensions 2026: Boost Your Development Productivity 07-18
- 10 Frontend Toolchain 2026: Vite / Next.js / Tailwind CSS Ecosystem 07-18