How does Terraform compare with CloudFormation, Pulumi, Ansible and CDK?
IntermediateConceptIaC and Terraform Fundamentals
Answer
CloudFormation is AWS-only and managed by AWS (no state file to handle, but weaker cross-provider reach). Pulumi and CDK for Terraform use general-purpose languages. Ansible is procedural config management that can provision but has no real state or plan. Terraform's edge is a multi-cloud provider ecosystem, a readable plan and a large module registry; the trade-off is that you manage state yourself.
More on IaC and Terraform Fundamentals
What is Infrastructure as Code and why do teams use it?BeginnerWhat is the difference between declarative and imperative infrastructure tools?BeginnerWhat is Terraform and what problem does it solve?BeginnerWhat is HCL and can Terraform use anything else?BeginnerWhich files make up a typical Terraform root module?BeginnerHow does Terraform work internally?Advanced