Create and Execute a Change Set
A 4-step recipe with AWS CloudFormation. We can help you get access.
Recipe · 4 steps
Create and Execute a Change Set
with AWS CloudFormation · IT Infrastructure Management
Preview a stack change via a change set and execute it to completion.
- Create a change set describing how the supplied template differs from the stack's current template.
- Poll DescribeChangeSet until the change set finishes computing. Branch to execution on CREATE_COMPLETE or to a failure end when creation fails.
- Execute the created change set, which starts updating the stack with the previewed changes.
- Poll DescribeStacks until the stack update settles. End on UPDATE_COMPLETE or on any update rollback terminal state.
What you'll need to have ready
- stackName: The name or unique ID of the existing stack to change.
- changeSetName: The name to assign to the change set.
- templateBody: The updated CloudFormation template body for the change set.
- capability: An optional capability to acknowledge (e.g. CAPABILITY_IAM).
For your developer
Arazzo workflow cloudformation:change-set-deploy, 4 operations: createChangeSet → describeChangeSet → executeChangeSet → describeStacks. Specs on APIs.io.