Infrastructure as Code (IaC) Tools

AWS CloudFormation vs OpenTofu

Compare AWS CloudFormation and OpenTofu side-by-side. See feature differences and pricing in the Infrastructure as Code (IaC) Tools category.

No reviews yet

Pricing: No CloudFormation charge for AWS and Alexa resource providers; third-party extensions and custom Hooks cost $0.0009 per handler operation after 1,000 free a month.

AWS CloudFormation is Amazon Web Services' infrastructure as code service, provisioning AWS and third-party resources from templates for teams on AWS.

10 /17 features Full profile
No reviews yet

Pricing: Free and open source under the Mozilla Public License 2.0, with no paid tiers or hosted plan.

OpenTofu is an open source infrastructure as code tool, Terraform-compatible and hosted by the Linux Foundation, for teams managing cloud resources in code.

7 /17 features Full profile

Feature Comparison

Infrastructure as Code (IaC) Tools features side-by-side

AWS CloudFormation
AWS CloudFormation 10/17 features
Providers for AWS, Azure and Google Cloud
No
Execution plan preview before apply
Yes
Remote state with locking
No
Drift detection against deployed cloud state
Yes
Private module registry
Yes
Infrastructure in general-purpose languages
Yes
Policy-as-code checks at plan time
Yes
Pull-request plans from version control
Yes
Cost estimate on each plan
No
Import of existing cloud resources
Yes
Encrypted workspace variables
No
Per-workspace access control
Yes
Approval required before apply
Yes
Auto-destroy of temporary environments
No
Cross-stack output references
Yes
Self-hosted agents for private networks
No
Open source IaC engine
No
No reviews yet
OpenTofu
OpenTofu 7/17 features
Providers for AWS, Azure and Google Cloud
Yes
Execution plan preview before apply
Yes
Remote state with locking
Yes
Drift detection against deployed cloud state
No
Private module registry
No
Infrastructure in general-purpose languages
No
Policy-as-code checks at plan time
No
Pull-request plans from version control
No
Cost estimate on each plan
No
Import of existing cloud resources
Yes
Encrypted workspace variables
No
Per-workspace access control
No
Approval required before apply
Yes
Auto-destroy of temporary environments
No
Cross-stack output references
Yes
Self-hosted agents for private networks
No
Open source IaC engine
Yes
No reviews yet

Pricing

AWS CloudFormation

No CloudFormation charge for AWS and Alexa resource providers; third-party extensions and custom Hooks cost $0.0009 per handler operation after 1,000 free a month.

OpenTofu

Free and open source under the Mozilla Public License 2.0, with no paid tiers or hosted plan.

Explore Each Product

Looking for more options?

Browse all Infrastructure as Code (IaC) Tools