Cloud Provider IaC Comparison
Terraform vs. CloudFormation vs. Pulumi vs. CDK — vocabulary for comparing IaC tool trade-offs. Advanced
0 / 5 completed
1 / 5
An AWS-focused team says: "We use CloudFormation because it has native integration with all AWS services on day 1."
What is the main trade-off of choosing CloudFormation over Terraform for this team?
CloudFormation and Terraform serve overlapping needs with distinct trade-off profiles:
| Dimension | CloudFormation | Terraform |
|---|---|---|
| Provider support | AWS-only; new services supported on day 1 | Multi-cloud; community provider may lag new AWS services |
| State management | AWS manages state — no .tfstate to secure | Team manages state file (S3 + DynamoDB pattern) |
| Change preview | Change Sets — review before deploying | terraform plan — equivalent preview mechanism |
| Lock-in risk | High — templates are AWS-specific | Low — HCL patterns portable across providers |
| Drift detection | Built-in CloudFormation drift detection | terraform refresh + plan comparison |
Key vocabulary: provider lock-in, Change Set, day-2 operations (ongoing management after initial deployment).