by watermelon0 · 6y ago · 0 comments
But CloudFormation does have drift detection: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGui...
I'd pick Terraform before CloudFormation, but there are things that are better with CF, such as rollbacks (they really do work as expected in almost all cases), and AutoScalingGroup's UpdatePolicy (rolling/replacing deploy of new launch configuration with healthchecks), which is not available outside of CF.
This drives me crazy. I never want to touch CF, but if I want rolling ASG, I have to. Why?!?
For a concrete example of one that bit us one time, database parameter groups don't support drift detection.
In my opinion, tf is terrible choice unless you're going to be using it for more than AWS
This is a big deal with classic CloudFormation because there was no escape hatch. Terraform can run arbitrary code if needed but you had to split CF stacks apart so you could have something else run in between. That’s probably better with CDK, of course.