Interview Prep/AWS/Observability, Security Services and IaC

CloudFormation vs Terraform vs CDK: how do they compare?

AdvancedConceptObservability, Security Services and IaC
Answer

CloudFormation is AWS-native, no state file to manage (AWS holds state), automatic rollback, day-one support for many new features, but AWS-only and verbose. Terraform is multi-cloud with a large ecosystem, explicit state and a plan/apply workflow, but you manage the state backend and locking. CDK is a programming layer that compiles to CloudFormation.

Choice usually follows team skills and whether you manage non-AWS resources too.

aws All AWS questions

More on Observability, Security Services and IaC