qmetrics.net

Best Open-Source Alternatives to Terraform

Terraform by HashiCorp is a commercial product. These open-source projects say they can replace it.

The most popular open-source alternative to Terraform is OpenTofu, with 31k GitHub stars. Other open-source alternatives to Terraform are Pulumi. Most Terraform alternatives here are Build & Deployment tools. None of these projects names Terraform itself, but each does the same job; its own description is shown under it.

Stars and activity updated 27 November 2026.

Sort:Most starsRecentA–Z

Also does the same job as Terraform

These projects don't call themselves a Terraform alternative, but two independent checks of their own description found they do the same main job.

OpenTofu

Open-source infrastructure as code engine

OpenTofu is an open-source tool for building, changing, and versioning infrastructure safely. It manages popular cloud providers and custom in-house systems using declarative configuration.

★ 31k⟳ todayMPL-2.0
Build & DeploymentDesktop/CLI app
Open Source Alternative to:Terraform
“OpenTofu is an OSS tool for building, changing, and versioning infrastructure safely and efficiently.”

Pulumi

Open-source infrastructure as code with familiar programming languages

Pulumi provisions and manages cloud resources through programs written in TypeScript, Python, Go, Java, and other languages. A CLI deploys stacks to AWS, Azure, Google Cloud, Kubernetes, and hundreds of providers.

★ 26k⟳ yesterdayApache-2.0
Build & DeploymentDesktop/CLI app
Open Source Alternative to:Terraform
“Pulumi is an open-source infrastructure as code platform that helps humans and agents build and manage cloud infrastructure with real programming languages.”

Compare Terraform alternatives

Questions about Terraform alternatives

Is there an open-source alternative to Terraform?

Yes. 2 open-source projects can replace Terraform, for example OpenTofu and Pulumi. They do the same job as Terraform, as their own documentation describes.

What is the best open-source alternative to Terraform?

OpenTofu (31k GitHub stars) is the most popular open-source alternative to Terraform on GitHub. The best choice depends on your needs: compare them side by side, for example OpenTofu vs Pulumi.

Are the open-source alternatives to Terraform free?

All of the 2 projects listed here are free to use under an open-source license, with no license fee: 1 permissive (such as Apache-2.0), 1 weak copyleft (such as MPL-2.0). Running software on your own server still costs hosting and upkeep, and many projects also sell a hosted version.

Related commercial products

Vercel

Vercel

12 open-source alternatives

Heroku

Salesforce

11 open-source alternatives

Railway

Railway

10 open-source alternatives

Render

Render

10 open-source alternatives

Netlify

Netlify

9 open-source alternatives

Fly.io

Fly.io

8 open-source alternatives