AWS CloudFormation enhances deletion policies to accelerate dev-test cycle
News
This article announces a new CloudFormation deletion policy called RetainExceptOnCreate that provides enhanced control over resource deletion during stack operations.
- RetainExceptOnCreate preserves resources deleted during stack updates or deletions
- Does not preserve resources deleted immediately after creation or during rollbacks
- Eliminates manual cleanup after failed stack operations and rollbacks
- Enables faster iteration in test environments with CI/CD automation
- Reduces human error and service disruptions in production environments
- Available in all AWS Regions where CloudFormation is supported
RetainExceptOnCreate accelerates development-test cycles by automating resource cleanup during rollbacks while protecting in-use resources from accidental deletion.
The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.
Related articles
The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.