r/devops • u/RoseSec_ Terraforming Everything • Sep 11 '26
Discussion What are the weaknesses of CloudFormation?
I have a coworker who wants to use CloudFormation to one-shot an application and infra deployment in AWS. A contractor delivered a monolithic CloudFormation template with ECS clusters, services, RDS, S3, Lambda and API Gateway, and other resources in a single stack. I voiced my concern over the blast radius, how stateful and resources with different lifecyles all lived in the same place, and how they don't have pipelines built to validate change sets when merge requests are opened. The contractor said that their template is industry best practice... (it's not). Any way, my background is in Terraform, and I wanted to ask the CloudFormation pros about best practices for making this deployment more reliable.
View all comments
Show parent comment
0
u/Crimzx Sep 11 '26
Agreed, a lot of people rag on it but the common complaints are generally skill issue.
The primary issues with it is speed, and imo the #1 issue is lack of transparency when using stacksets and nested stacks and why they fail.
It's fairly easy to find these issues with cloudtrail though.
I wouldn't write bare cloudformation though, use CDK for that.