Infrastructure & Operations · Cloud Infrastructure Management
OpenTofu
Infrastructure as code with plan and apply workflows
OpenTofu is an infrastructure as code tool for teams managing cloud, on-premises, and service resources through versioned configuration. It is governed by the Linux Foundation and licensed under MPL-2.0, which permits commercial use under license conditions. OpenTofu has no official hosted service, although third-party platforms can run and coordinate it.
Key facts
- License
- MPL-2.0
- Main language
- Go, HCL
- Maintainer
- Linux Foundation governed open source community
- First released
- 2024
- Latest release
- v1.13.2, October 21, 2026
- GitHub stars
- 30.5k, October 2026
- Hosted option
- None officially; third-party orchestration available
What OpenTofu is
OpenTofu is a declarative infrastructure as code tool that manages cloud, on-premises, and service resources through provider APIs. The project began after Terraform changed licensing, with its first stable release, v1.6.0, published on January 10, 2024. It is governed by the Linux Foundation and maintained by an open source community. The GitHub repository lists approximately 30.5k stars, 1,399 forks, and active contributors, while the project publishes community and technical steering committee meetings. OpenTofu does not identify a commercial company as its owner or backer. Its Mozilla Public License 2.0 permits source use and modification under the license terms. The project suits organizations seeking Terraform-style workflows with community governance.
How it works
OpenTofu’s workflow has three stages: write, plan, and apply. Users describe desired resources in configuration, initialize providers and modules, then run a plan that shows additions, changes, and removals before approval. This review makes proposed infrastructure changes visible, helping teams detect unintended effects before execution. Apply performs the approved operations while respecting dependencies in the resource graph, so related resources are handled in an appropriate order. State records relationships between configuration and infrastructure, allowing later plans to compare intended and existing conditions. Modules package reusable configurations, while providers connect the core tool to AWS, Azure, Google Cloud, Kubernetes, Helm, GitHub, Splunk, and Datadog. Backends store shared state and secrets for team workflows. The command line supports version control, pull-request review, and CI automation.
Architecture and recent releases
OpenTofu is primarily written in Go, with HCL configuration and supporting shell, Python, JavaScript, and other tooling. It runs as a command line binary and communicates with providers, registries, backends, and remote service APIs without requiring a central application server. The v1.13 series added official Windows ARM64 packages, functions for reducing unknown planning values, experimental linting, Symbol Libraries, OpenTelemetry improvements, OCI registry credential handling, and provider encryption options for AWS KMS, Google Cloud KMS, and OpenBao. Version 1.13 removed WinRM provisioner support, raised the macOS requirement to macOS 13 Ventura, and ended official 32-bit CPU releases. Version 1.13.2 followed on October 21, 2026 with security and bug fixes.
License and pricing
MPL-2.0 permits commercial use, modification, distribution, and private use, while requiring covered file modifications to remain available under MPL terms. OpenTofu is not described as an open-core product with proprietary editions, and the project does not offer an official hosted control plane. Teams can run the binary in automation, CI systems, or operational platforms, while third-party orchestration products can add remote execution, policy, and collaboration features. As a result, organizations must arrange hosting, access controls, state operations, backups, and workflow interfaces through their own infrastructure or a selected service. This can increase administrative responsibility and make costs depend on existing capabilities and external platform choices. OpenTofu suits teams prepared to manage these functions or select supporting services.
Limitations and how it compares
OpenTofu’s main limitation is operational responsibility. Teams must arrange shared state, credentials, approvals, policy controls, logging, and backups themselves, or obtain those functions from another service. This can provide greater control over execution and state locations, but it also requires teams to coordinate these capabilities, maintain their configuration, and ensure that operational safeguards remain available. Terraform remains the closest technical alternative, supported by a larger commercial service around its workflow. Pulumi offers TypeScript, Python, Go, C#, Java, and YAML, while CloudFormation is more tightly tied to AWS. OpenTofu fits teams seeking Terraform-compatible workflows, MPL-2.0 licensing, and control over execution and state locations. Teams wanting one vendor’s complete hosted operating model should choose another project.
Main features
- Declarative configuration. Users describe desired cloud and on-premises resources in versioned configuration instead of writing step-by-step provisioning procedures.
- Execution plans. The plan command previews additions, updates, and removals before apply changes infrastructure, reducing unexpected operations.
- Resource graph. OpenTofu calculates dependencies and runs independent resource operations in parallel when the provider permits it.
- Provider integrations. Providers connect OpenTofu with services including AWS, Azure, Google Cloud, Kubernetes, Helm, GitHub, and Datadog.
- Reusable modules. Modules package configurable resource collections that teams can version, share, and reuse across environments, with configuration and operation remaining part of the deployment workflow.
- State management. State records managed resources and supports backends for shared team workflows, secrets, and remote execution arrangements.
- OCI registry support. Recent releases support provider and module installation from OCI registries with repository-scoped credential handling, with configuration and operation remaining part of the deployment workflow.
Self-hosting OpenTofu
OpenTofu is a command line application rather than a server requiring Docker, Helm, PostgreSQL, Redis, or object storage. Teams install official binaries or packages such as Debian and RPM artifacts, then run the binary on supported operating systems and CPU architectures. The normal deployment model is a CI runner, build host, workstation, or third-party automation service. Shared state requires a configured backend, and teams must arrange access control, secret handling, locking where supported, logging, and backups for that backend. OpenTofu publishes signed release artifacts and upgrade notes. Version 1.13 requires macOS 13 or later, and it is the final official series for 32-bit CPUs.
Strengths
- MPL-2.0 supports commercial use while preserving licensing requirements for covered file modifications.
- Plans expose proposed infrastructure changes before apply operations run.
- The provider model covers major clouds, Kubernetes, SaaS services, and custom APIs.
- Linux Foundation governance separates the project from a single commercial vendor.
Drawbacks
- There is no official hosted OpenTofu service for remote runs, state, policy, and access management.
- Teams must operate or procure the backend, credentials, approvals, logs, and backup processes.
- The v1.13 series removes WinRM provisioners and ends official 32-bit CPU releases.
What teams replace with it
Teams usually evaluate OpenTofu when they want to move off Terraform Cloud, Terraform Enterprise, AWS CloudFormation.
For side-by-side commercial comparisons, browse our alternatives hub.
Open-source alternatives to OpenTofu
- Terraform
- Pulumi
- CloudFormation
- Crossplane
Frequently asked questions
Is OpenTofu free?
OpenTofu is open source software licensed under MPL-2.0, and the project publishes downloadable release binaries without an official hosted service fee. Operating it still creates costs for compute, CI runners, remote state, storage, backups, monitoring, and staff time. A third-party service that runs OpenTofu can charge separately for orchestration, policy, collaboration, or support features.
Can companies use OpenTofu commercially?
Yes. MPL-2.0 permits commercial use, modification, distribution, and private use, subject to its notice and file-level copyleft requirements. Organizations should review how they distribute modified files and retain applicable license notices. OpenTofu is not described as an open-core product with proprietary modules, and the project does not impose a SaaS restriction on ordinary use.
How do you self-host OpenTofu, and what hardware does it require?
Install OpenTofu as a binary or operating-system package, then run it from a workstation, CI runner, build host, or automation platform. The project does not publish a minimum hardware specification in its documentation. Shared deployments need a configured state backend plus credentials, access controls, locking where supported, backups, and logs. OpenTofu itself does not require PostgreSQL, Redis, or an always-on application server.
How does OpenTofu compare with Terraform?
Both use declarative configuration, providers, state, modules, plans, and applies, so their infrastructure workflow is closely related. OpenTofu is governed by the Linux Foundation and uses MPL-2.0, while Terraform is associated with HashiCorp's product and service model. OpenTofu has no official hosted service, making it suitable for teams that want to choose their own execution and collaboration layer.
Is OpenTofu suitable for sensitive infrastructure data?
OpenTofu can manage sensitive infrastructure, but state and credentials require careful handling because state records resources and values needed to calculate changes. Use an appropriate backend, restrict access, protect secrets, enable encryption where the backend supports it, and maintain backups. Recent releases include encryption provider options and security fixes, but those features do not replace organization-level access control or operational review.
Similar projects to compare
- PulumiApache-2.0Pulumi is an open-source infrastructure as code platform for developers and infrastructure teams. Its Apache-2.0 CLI and SDK support TypeScript, Python, Go, C#, Java, and YAML, while Pulumi Cloud adds managed state and team controls. Pulumi Cloud has a free tier, paid plans from $40 per month, and enterprise self-hosting.
- CozystackApache-2.0Cozystack is an Apache-2.0 cloud platform for operators building private clouds, public-cloud backends, or development environments on owned infrastructure. It manages Kubernetes clusters, virtual machines, databases, networking, and storage. The software is free to run, while Ænix offers optional commercial support and platform services. There is no single project-hosted Cozystack service.
- DiggerMITDigger is an open-source infrastructure-as-code orchestration tool for Terraform and OpenTofu, aimed at teams using pull-request workflows and existing CI systems. The repository uses the MIT license, and Digger publishes both a self-hosted orchestrator and a hosted cloud product. The project now uses the OpenTaco name, while Digger remains the company and legacy product identity.
- OpenStackApache-2.0OpenStack is a modular infrastructure as a service platform for teams building private, hosted private, public, edge, or hybrid clouds. The Open Infrastructure Foundation and its community maintain it under Apache-2.0. The software has no license fee, while hosted providers charge for infrastructure, support, or managed operations.
- TerrateamMPL-2.0Terrateam is an open-source GitOps automation platform for teams that plan and apply infrastructure through pull requests. Its core uses MPL-2.0, with commercial Enterprise features and hosted SaaS. Terrateam supports Terraform, OpenTofu, Terragrunt, Pulumi, and CDKTF, and its repository identifies Stategraph as the owning organization.