Introduction
Every DevOps team eventually faces the same choice: which tool writes the infrastructure? For a decade the answer was simple — Terraform — and the question barely needed asking. Then HashiCorp changed Terraform’s licence in August 2023, a community fork called OpenTofu appeared, and Pulumi kept growing as the tool for teams who would rather write infrastructure in a real programming language. By late 2026 the choice is genuinely three-way, and the wrong pick costs a team months of rework.
This guide compares the three tools as they stand on 29 November 2026: Terraform 1.17.2, Pulumi 3.278.0, and OpenTofu 1.13.9. It covers what they have in common, how each one works, the licensing story that split the ecosystem, state and modules, the ecosystems around them, and — most importantly — which tool fits which kind of team. Every version number below was checked on 29 November 2026, and anything that could not be verified on an official source is left out and flagged in the Sources line at the end.
The short answer, for readers in a hurry: Terraform is still the default choice for most teams, because of its provider ecosystem and the sheer number of engineers who already know it. OpenTofu is the right choice if open-source licensing matters to your organisation, or if you want Terraform-compatible tooling without the Business Source License. Pulumi is the right choice if your team is made of software developers who want loops, tests and abstractions in a language they already write. The rest of this guide is the evidence for those three sentences — and the exceptions to them.
What the Three Tools Have in Common
Before the differences, the shared idea — because all three tools are implementations of the same model, and understanding the model is what makes the comparison meaningful. Each tool lets you describe the infrastructure you want in code, then makes reality match that description.
The model has four parts. First, declarative configuration: you write what the infrastructure should look like — a virtual network, three virtual machines, a database — rather than the sequence of commands that creates it. The tool works out the order. Second, state: the tool keeps a record of what it has created, so the next run can compare the desired configuration against reality and work out the difference. Third, planning: before anything changes, the tool shows you the plan — what will be created, changed and destroyed — so you can review it like a code change. Fourth, providers: the tool itself knows nothing about AWS, Azure or Google Cloud; a provider plugin translates your configuration into API calls against a specific platform, and the provider ecosystem is where much of the real difference between these tools lives.
Where they differ is in the language you write, the licence the code ships under, who maintains it, how state is handled, and how large the ecosystem is. Those five differences are the whole comparison.
Terraform in 2026 — the Incumbent
Terraform, from HashiCorp, is the tool that defined infrastructure as code for most of the industry. You write configuration in HCL — HashiCorp Configuration Language — a declarative language designed specifically for describing infrastructure. A resource block says what you want; Terraform works out how to get there. The current release is Terraform 1.17.2, released 11 November 2026, following the 1.17.0 minor release on 21 October 2026. The 1.17.2 release itself was a small patch — a performance improvement for generating configuration from large queries, and two bug fixes — which is normal for Terraform: minor releases carry the features, patches carry the fixes.
Terraform’s greatest strength is its provider ecosystem. The Terraform Registry carries providers for essentially every cloud platform and infrastructure product that matters — AWS, Azure, Google Cloud, Kubernetes, and thousands of others — maintained by HashiCorp, by the platform vendors themselves, or by the community. When a cloud provider launches a new service, a Terraform provider for it usually follows quickly, because Terraform is where the users are. The Registry also carries modules: reusable packages of configuration that bundle resources together, so a team can call a VPC module instead of writing fifty resource blocks. Our Terraform Modules Tutorial teaches modules from zero, and our Terraform Tutorial for Beginners covers the core workflow.
Terraform’s state model is well understood by now. State is a JSON file that maps your configuration to real resources; it lives in a backend — most commonly an S3 bucket, an Azure storage account, or HashiCorp’s own HCP Terraform service — and it must be locked during applies so two engineers cannot change the same infrastructure at once. Native state locking for the S3 backend arrived in Terraform 1.10 and became generally available in 1.11, replacing the old pattern of a separate DynamoDB table for locking. State is also Terraform’s most sensitive file: it can contain secrets in plain text, so it must be encrypted at rest and access-controlled like a credential. Our Terraform State Explained covers backends, locking and state surgery in detail.
The licensing question is the one that changed Terraform’s position. In August 2023 HashiCorp moved Terraform from the Mozilla Public License 2.0 to the Business Source License (BUSL-1.1). Terraform remains free to use, but the licence restricts competing commercial use — you cannot offer Terraform itself as a hosted service that competes with HashiCorp’s offerings. IBM completed its acquisition of HashiCorp in February 2025, and Terraform continues to be developed and released under IBM ownership. For most teams this changes nothing day to day: Terraform is still free to download and use, and the provider ecosystem still grows. But for vendors, cloud providers and consultancies that build commercial products on top of Terraform, the licence is a real constraint — and it is the reason OpenTofu exists.
Pulumi — IaC in Real Programming Languages
Pulumi takes the opposite approach to Terraform: instead of a configuration language, you write infrastructure in a general-purpose programming language — TypeScript, JavaScript, Python, Go, .NET (C#, F# and Visual Basic), Java, or YAML — and since 2026, HCL as well. A Pulumi program is a real program: it has loops, conditionals, functions, classes, unit tests, and every abstraction a programming language offers. If Terraform’s answer to repetition is a module, Pulumi’s answer is a for loop. The current release is Pulumi 3.278.0, released 24 November 2026; Pulumi ships minor releases roughly weekly on the 3.x line, so the patch number moves fast and should be re-checked at publication.
The programming-language model changes what infrastructure code feels like. A team of software developers can write infrastructure in the same language as their application, share libraries between the two, write unit tests for their infrastructure logic with the same test frameworks they already use, and use an IDE with autocomplete, refactoring and type checking. Conditions and loops are native rather than bolted on: creating one subnet per availability zone is a loop over a list, not a for_each meta-argument to learn. Pulumi’s Output type handles the one genuinely hard part — values that are not known until apply time, like a resource’s ID — by making them first-class values that can be passed between resources and transformed with ordinary code.
Pulumi’s state model is similar in shape to Terraform’s but different in plumbing. State is stored in a backend: the managed Pulumi Cloud service, or a self-managed backend such as an S3 bucket, an Azure Blob container, a Google Cloud Storage bucket, or a local directory. Pulumi Cloud adds a console, deployment history, policy enforcement and team management on top of the state store — the paid tiers are where Pulumi makes its money, while the CLI and the self-managed backends are open source. Pulumi’s Automation API lets you embed Pulumi inside another application, so a platform team can build a self-service portal that provisions infrastructure on demand — a use case Terraform’s CLI-first design handles less naturally.
Pulumi’s provider ecosystem is large and works differently from Terraform’s. Pulumi builds many of its providers by bridging Terraform providers: it takes a Terraform provider and generates a Pulumi provider from it, so the coverage of cloud services is close to Terraform’s, with Pulumi-native providers for the most popular platforms. That bridging is also a source of friction: a bridged provider can lag behind its Terraform original, and its API sometimes shows Terraform’s shape rather than an idiomatic Pulumi one. The component model compensates — Pulumi’s components package resources together with defaults, which is the equivalent of a Terraform module but written as a class in your language of choice, with inputs, outputs and documentation generated from the code.
OpenTofu — the Open-Source Fork
OpenTofu is the community fork of Terraform, created in August 2023 after HashiCorp’s licence change, when the Terraform codebase moved from MPL-2.0 to the Business Source License. The fork was taken from Terraform 1.5.x, moved under the Linux Foundation in September 2023, reached its first stable release (1.6.0) in January 2024, and has been a CNCF sandbox project since April 2025. It is licensed under MPL-2.0 — a genuinely open-source licence — which is the whole point of the project: infrastructure as code that no single vendor can relicence. The current release is OpenTofu 1.13.9, released 5 November 2026, in the 1.13 series that began on 29–30 September 2026.
For a Terraform user, OpenTofu is deliberately familiar. The command is tofu instead of terraform, the configuration language is HCL, the providers are the same Terraform Registry providers, and the state format is compatible — migrating is mostly a binary swap, followed by a tofu plan that should show no changes. That compatibility is the project’s core promise, and it is what makes OpenTofu a low-risk choice for a team that already runs Terraform: the migration is measured in hours, not months, and the team keeps its existing configuration, modules and state.
But OpenTofu is no longer just a copy of Terraform. Since the fork, it has shipped features Terraform does not have, and the two tools have drifted apart. Built-in state encryption arrived in OpenTofu 1.7, letting state be encrypted with a key you control before it is written to the backend. Provider-defined functions and early variable evaluation (1.8), provider for_each (1.9), ephemeral values (1.11), and dynamic prevent_destroy (1.12) all came first in OpenTofu. Version 1.13 added convert and assume… functions that reduce unknown values during planning, official Windows ARM64 support, and experimental linting and symbol libraries. Some of those features are genuinely useful — state encryption in particular answers the oldest Terraform security complaint — and they are the reason teams choose OpenTofu on merit, not just on licensing.
The drift cuts both ways. OpenTofu cannot use Terraform features shipped after the fork without re-implementing them, and Terraform cannot use OpenTofu’s features either. A team that adopts OpenTofu is betting that the community fork will keep pace with HashiCorp’s development, and so far it has: the 1.11, 1.12 and 1.13 lines are maintained, with patches arriving regularly. The governance model is the project’s other bet — a Linux Foundation project with multiple vendors contributing, rather than a single company deciding the roadmap. For organisations with strict open-source policies, or for vendors who build commercial products on top of the tool, that governance is the deciding factor: OpenTofu cannot be relicensed by a single company’s business decision.
Head-to-Head — Language, Licence, State and Ecosystem
The table below puts the comparison in one place. Read it as a summary of the three sections above, not as a scorecard — no tool wins every row, and the row that matters most depends on your team.
| Factor | Terraform 1.17.2 | Pulumi 3.278.0 | OpenTofu 1.13.9 |
|---|---|---|---|
| Language | HCL (declarative) | TypeScript, Python, Go, .NET, Java, YAML, HCL | HCL (declarative) |
| Licence | Business Source License (BUSL-1.1) | Apache 2.0 (CLI and SDKs open source) | MPL-2.0 (open source) |
| Maintainer | HashiCorp (IBM) | Pulumi Corporation | Linux Foundation / CNCF sandbox |
| State backend | S3, Azure, GCS, HCP Terraform, more | Pulumi Cloud, S3, Azure Blob, GCS, local | Same backends as Terraform |
| State locking | Native (S3 locking GA in 1.11) | Backend-managed | Same as Terraform |
| Modules / reuse | Registry modules, local modules | Components, bridged Terraform modules | Registry modules (Terraform-compatible) |
| Provider ecosystem | Largest (Registry) | Large (bridged + native) | Registry providers (Terraform-compatible) |
| Testing | terraform test, check blocks | Unit tests in your language, policy packs | tofu test, check blocks |
| Release cadence | Minor releases every few months | Minor releases roughly weekly | Minor releases roughly every six months |
| Best for | Most teams; hiring; ecosystem | Developer-heavy teams; abstractions | Open-source policy; Terraform-compatible |
Language is the first decision. HCL is easy to learn and hard to misuse: it describes infrastructure and little else, so a configuration file is readable by anyone on the team, including people who do not program. A general-purpose language is more powerful and more dangerous: it can express anything, including the kind of clever abstraction that nobody else on the team understands six months later. The right answer depends on who writes the code. If the authors are infrastructure engineers and operators, HCL’s limits are a feature. If the authors are software developers, Pulumi’s power is the point.
Licence is the second decision, and it is a legal question, not a technical one. Terraform under BUSL-1.1 is free to use but restricts competing commercial offerings built on it. OpenTofu under MPL-2.0 has no such restriction. Pulumi’s CLI and SDKs are Apache 2.0, with the managed Pulumi Cloud service as the commercial product. If your organisation has an open-source policy that bars BUSL-licensed software, the decision is made for you: OpenTofu or Pulumi. If it does not, the licence is a factor to note rather than a deciding one — but do involve your legal or procurement team before committing, because this is a decision that is expensive to revisit.
State is the third decision, and it is the one teams underestimate. All three tools need remote, locked, encrypted state, and all three support it — but the defaults differ. Terraform and OpenTofu leave the backend choice to you, which means you must configure it correctly yourself: an S3 bucket with versioning and encryption, a locking mechanism, and access controls. Pulumi Cloud gives you all of that as a managed service, at the cost of depending on Pulumi’s service. Neither is better in the abstract; the question is whether your team would rather operate a state backend or pay someone else to operate it. Whichever you choose, the rules are the same: never store state in version control, never share state between environments, and treat state as a credential — our Terraform State Explained covers the failure modes in detail, and they apply to all three tools.
Ecosystem is the fourth decision. Terraform’s Registry is the largest collection of providers and modules in infrastructure as code, and that size is a genuine advantage: when a new cloud service launches, the Terraform provider is usually there first, and the module you need probably already exists. Pulumi’s bridged providers give it nearly the same coverage, with a lag. OpenTofu uses the same Registry providers as Terraform, so its coverage is the same today — but the Registry is HashiCorp’s service, and OpenTofu’s long-term access to it is a dependency the project does not control. Watch that relationship, and keep your modules in your own version control or registry so a change in the Registry’s terms does not strand you.
State, Modules and Testing in Practice
The comparison becomes concrete when you look at how each tool handles the three things every team does every day: managing state, reusing configuration, and testing changes.
Reuse is where the language difference shows. In Terraform and OpenTofu, a module is a folder of configuration with inputs (variables) and outputs, called from a root module. The Registry carries thousands of them, and the versioning convention is the ~> constraint — ~> 5.0 means any 5.x release, so you get patches without breaking changes. Our Terraform Modules Tutorial teaches module authoring from zero, including version pinning and composition. In Pulumi, the equivalent is a component: a class in your programming language that creates several resources with sensible defaults. Components are more flexible than modules — they can contain logic, validation and tests — and less portable, because a TypeScript component cannot be used from a Python program without translation. Pulumi has also added the ability to publish and share Terraform modules across languages, narrowing the gap for teams that mix the two.
Which Tool Should You Choose?
The choice is a team decision, not a technology decision. Work through the questions below in order, and the answer usually emerges on its own.
Are you a team of software developers who write application code every day? Choose Pulumi. Your team already knows the languages, already writes tests, and already uses the IDE tooling. The abstractions Pulumi offers — loops, functions, shared libraries — will feel natural, and the team will be productive in days. The cost is a smaller hiring pool and a smaller body of answered questions, which a strong development team can absorb.
Does your organisation have an open-source licensing policy that rules out BUSL-licensed software? Choose OpenTofu. It is the only option in this comparison that is fully open source under a standard licence, and it is compatible with your existing Terraform knowledge, configuration and state. The cost is a smaller community and a dependency on the Terraform Registry for providers, both of which are manageable.
Are you hiring infrastructure engineers, or building a team that will grow quickly? Choose Terraform. It has the largest hiring pool, the most tutorials, the most answered questions, and the largest provider ecosystem. A new hire who knows Terraform is productive in week one; a new hire who must learn Pulumi or OpenTofu is productive in week three. That difference compounds across every hire.
Are you already running Terraform in production? Stay on Terraform, or move to OpenTofu if licensing matters. A rewrite to Pulumi is a project in itself, and it should be justified by a concrete problem — usually that the team is drowning in HCL workarounds for logic that belongs in a programming language — rather than by a preference for a different language. If that problem is real, a gradual migration (new services in Pulumi, existing services in Terraform) is safer than a big-bang rewrite.
Are you a small team or a solo engineer starting from scratch? Choose Terraform. The ecosystem advantage is largest when you have nobody to ask: the Registry module you need already exists, the error message you hit has already been answered, and the tutorial for your exact use case has already been written. Start with our Terraform Tutorial for Beginners, then learn modules with our Terraform Modules Tutorial, and read our Terraform State Explained before your first production apply — that sequence is the fastest safe path to production infrastructure.
FAQ
Is OpenTofu a drop-in replacement for Terraform?
Largely, yes. OpenTofu reads the same HCL configuration, uses the same Registry providers, and its state format is compatible — migration is mostly a binary swap followed by a tofu plan that should show no changes. The tools have drifted apart since the fork, so new Terraform features may not exist in OpenTofu and vice versa; test the migration on a copy of your state first.
Is Terraform still free?
Yes, Terraform is free to download and use. The licence changed in August 2023 from MPL-2.0 to the Business Source License (BUSL-1.1), which restricts offering Terraform as a competing commercial service. For most teams using Terraform to manage their own infrastructure, the change has no practical effect.
Can Pulumi use Terraform providers and modules?
Yes. Pulumi builds many of its providers by bridging Terraform providers, giving it broad coverage of cloud services, and it has added the ability to publish and share Terraform modules across languages. A bridged provider can lag behind its Terraform original, so check the version before depending on a new cloud feature.
Which tool is best for a beginner?
Terraform, for most beginners — HCL is the easiest language in this comparison to learn, the tutorial and answered-question volume is the largest, and the hiring market rewards Terraform knowledge most. If you are already a software developer, Pulumi may feel more natural; if open-source licensing matters to you, start with OpenTofu instead.
Do I need to learn HCL to use Pulumi?
No. Pulumi programs are written in TypeScript, Python, Go, .NET, Java or YAML. HCL support was added in 2026, so a Pulumi program can now also be written in HCL — but that is an option, not a requirement, and most Pulumi users never touch it.
Conclusion
Terraform, Pulumi and OpenTofu are three answers to the same question, and the differences between them are real but narrow: a configuration language against programming languages, a Business Source License against open-source licences, a vendor against a foundation, and the largest ecosystem against two smaller ones. As of 29 November 2026 the versions are Terraform 1.17.2, Pulumi 3.278.0 and OpenTofu 1.13.9 — and all three are actively developed, well documented and production-ready.
The default choice is Terraform: the largest ecosystem, the largest hiring pool, and the tool most teams already know. Choose OpenTofu when open-source licensing is a requirement, or when you want Terraform compatibility without the Business Source License. Choose Pulumi when your team is made of developers who want the full power of a programming language, with tests, abstractions and shared libraries. Whichever you choose, choose once and choose deliberately — the rewrite cost of changing tools is the most expensive part of this decision, and it is the part nobody budgets for.
Start with the fundamentals before you commit: our Terraform Tutorial for Beginners for the core workflow, our Terraform Modules Tutorial for reuse, and our Terraform State Explained for the state discipline that all three tools demand.
Sources checked 29 Nov 2026: GitHub hashicorp/terraform releases (Terraform 1.17.2, 11 Nov 2026; 1.17.0, 21 Oct 2026) and HashiCorp Discuss release announcement (1.17.2, 11 Nov 2026); pulumi.com install and CLI versions pages (Pulumi 3.278.0, 24 Nov 2026; weekly minor releases on the 3.x line; languages TypeScript, JavaScript, Python, Go, .NET, Java, YAML); OpenTofu GitHub releases via secondary reports checked 29 Nov 2026 (OpenTofu 1.13.9, 5 Nov 2026; 1.13.0, 29–30 Sep 2026; 1.13 series supported to Aug 2027; forked Aug 2023 from Terraform 1.5.x; Linux Foundation Sep 2023; first stable 1.6.0 Jan 2024; CNCF sandbox Apr 2025; state encryption 1.7; HCL as a Pulumi language since v3.235.0, May 2026, via secondary report); HashiCorp licence change Aug 2023 (MPL-2.0 to BUSL-1.1) and IBM acquisition of HashiCorp completed Feb 2025 via secondary reports; Terraform S3 backend native locking (introduced 1.10, GA 1.11) per HashiCorp documentation as cited in Batch 7. NOT VERIFIED on an official page and therefore not stated as fact above: the exact OpenTofu 1.13.9 patch date beyond secondary reports — re-check the GitHub releases page at publication; Pulumi Cloud pricing tiers (not stated above); any claim about which tool is fastest or cheapest to run (not stated above). External references: HashiCorp Terraform documentation · Pulumi documentation.
—



