Best Terraform Alternatives
The top-ranked Terraform alternative is OpenTofu (Open Source). The best free option is Ansible (open source).
Terraform is HashiCorp's infrastructure-as-code tool for provisioning cloud resources declaratively. Since HashiCorp's license change to the BUSL, many teams seek alternatives for open-source licensing, different languages, or tighter cloud integration.
1.OpenTofu
A community-driven open-source fork of Terraform maintained under the Linux Foundation.
2.Pulumi
Infrastructure as code using general-purpose languages like Python, TypeScript, and Go.
3.Ansible
Agentless automation tool for configuration management and provisioning using YAML playbooks.
4.AWS CloudFormation
AWS-native infrastructure-as-code service for modeling and provisioning AWS resources.
5.AWS CDK
Define AWS cloud infrastructure using familiar programming languages that synthesize to CloudFormation.
6.Crossplane
Open-source Kubernetes-based control plane for provisioning cloud infrastructure via APIs.
7.Google Cloud Deployment Manager
Google Cloud's native infrastructure deployment service using declarative templates.
8.Azure Resource Manager (Bicep)
Azure-native declarative language and service for deploying Azure resources.
9.Chef
Configuration management platform for automating infrastructure using Ruby-based recipes.
10.Puppet
Declarative configuration management tool for automating server infrastructure at scale.
11.SaltStack
Event-driven automation and configuration management framework for infrastructure.
12.Terragrunt
Thin wrapper for Terraform/OpenTofu that adds DRY configuration and remote state management.
Terraform alternatives: FAQ
What is the best alternative to Terraform?
OpenTofu is ranked first on this list (Open Source). The ranking combines our base score with readers' votes, so it can change.
What is the best free alternative to Terraform?
The highest-ranked free or open-source options here are OpenTofu, Ansible and AWS CloudFormation.
Which Terraform alternatives work on Mac?
OpenTofu, Pulumi, Ansible and AWS CDK run on macOS.
Which Terraform alternatives work on Linux?
OpenTofu, Pulumi, Ansible and AWS CDK run on Linux.
Know a Terraform alternative we missed? Suggest it — we review submissions before they go live.