DevOps

Terraform vs OpenTofu vs Pulumi: a practical comparison

How to choose between Terraform, OpenTofu and Pulumi for infrastructure as code, based on team skills, licensing comfort and ecosystem.

7 September 2026 · 6 min read · Serverconfigs engineering

All three do the same job: describe infrastructure in code, plan changes, apply them and track state. The differences are about language, licence, governance and ecosystem.

At a glance

TerraformOpenTofuPulumi
LanguageHCLHCLTypeScript, Python, Go, C#, Java and others
GovernanceHashiCorpLinux Foundation projectPulumi Corporation, open-source SDK
LicenceBusiness Source License for recent versionsOpen-source (MPL)Open-source (Apache) SDK; service is optional
EcosystemLargestCompatible with most Terraform providers and modulesLarge; can use many Terraform providers

Check the current licence terms yourself: they matter for some companies and have changed before.

How we think about the choice

If your team already uses Terraform and the licence suits you, there is rarely a reason to move. The ecosystem, hiring pool and documentation are the strongest.

If open governance matters, OpenTofu is a drop-in path for most Terraform codebases. Migration is usually a matter of changing the binary and testing plans. Check provider and module compatibility, and any features you rely on from Terraform Cloud.

If your engineers want a general-purpose language, loops, tests and abstractions in TypeScript or Python can be a real advantage for complex platforms. The cost is that code can become more clever than readable, and fewer people on the market know your conventions.

What matters more than the tool

  • Small modules with clear inputs.
  • State split by blast radius, with locking and remote storage.
  • Plans reviewed on pull requests, applies from a pipeline and not from laptops.
  • Drift detection and policy checks in CI.

A well-run Terraform estate beats a badly-run Pulumi one, and the reverse is also true.

See our infrastructure as code service.

Serverconfigs engineering

Notes from the engineers who run cloud cost, platform and AI enablement work for clients.

Keep reading

Related articles.

Newsletter

Practical notes on cost, platform engineering and AI infrastructure. See the Privacy Policy.

Start here

Find the waste first.

45 minutes with an engineer, a read-only look at your bill and a clear list of what to fix.

45-min call with an engineer · Read-only access · No commitment

Talk to an Engineer Free Cost Assessment