CodePipeline and CloudFormation with a stack policy to prevent REPLACEMENTs of resources

Update 2019-01-24: CloudFormation now natively supports a update policy for replacments with the UpdateReplacePolicy.

Some operations in CloudFormation trigger a REPLACEMENT of resources which can have unintended and catastrophic consequences, e.g. an RDS instance being replaced (which means that the current database will be deleted by CloudFormation after a new one has been created).

Read More

Like what you read?

You can hire me or make a donation via PayPal!