A new update in AWS CloudFormation enables users to quickly retry stack operations from the point of failure.
CloudFormation is an Infrastructure as Code (IaC) service that offers users an easy way to model a collection of related AWS and third-party resources, provision them quickly and consistently, and manage them throughout their life cycles.
Previously, when an error during configuration occured, CloudFormation rolled back the stack to the previous stable condition. For a stack update, it meant restoring the previous configuration, which could take a lot of time in complex environments while waiting for all of the resources to roll back before updating the template with the right configuration.
CloudFormation now allows users to disable the automatic rollback, keep the resources successfully created or updated before the error occurs, and retry stack operations from the point of failure.
“It allowed me to fix and remediate issues quickly, reducing the feedback loop and increasing the number of iterations that I can do in the same amount of time. In addition to using this for debugging, it is also great for incremental interactive development of templates,” Danilo Poccia, chief evangelist at Amazon Web Services wrote in a blog post.
The capability for AWS CloudFormation to retry stack operations from the point of failure is available at no additional charge in many of the AWS Regions.