Infrastructure as Code (IaC) Tools

AWS CloudFormation vs Terraform

Compare AWS CloudFormation and Terraform 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: Community Edition CLI free. HCP Terraform per managed resource a month: Essentials from $0.10, Standard from $0.47, Premium from $0.99. Enterprise and Europe by quote.

Terraform is HashiCorp's infrastructure as code tool, owned by IBM, that provisions AWS, Azure and Google Cloud resources from HCL files for platform teams.

14 /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
Terraform
Terraform 14/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
Yes
Private module registry
Yes
Infrastructure in general-purpose languages
No
Policy-as-code checks at plan time
Yes
Pull-request plans from version control
Yes
Cost estimate on each plan
Yes
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
Yes
Cross-stack output references
Yes
Self-hosted agents for private networks
Yes
Open source IaC engine
No
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.

Terraform

Community Edition CLI free. HCP Terraform per managed resource a month: Essentials from $0.10, Standard from $0.47, Premium from $0.99. Enterprise and Europe by quote.

Explore Each Product

Looking for more options?

Browse all Infrastructure as Code (IaC) Tools