Help! How do I set DeletionPolicy to Retain for production only?
It’s a good practice to use CloudFormation’s DeletionPolicy to protect stateful resources such as DynamoDB tables or RDS databases from accidental deletions. Such as when someone accidentally deletes a CloudFormation stack! As I discussed previously [1], this is a much better way to guard against these accidental data losses than separating stateful and stateless resources …
Help! How do I set DeletionPolicy to Retain for production only? Read More »