AWS CloudFormation · Arazzo Workflow
CloudFormation Review and Clean Up a Change Set
Version 1.0.0
Create a change set, poll until it is computed, then branch — delete it when it contains no changes, otherwise keep it for review.
View Spec
View on GitHub
AutomationCloud ResourcesIaCInfrastructure As CodeStack ManagementArazzoWorkflows
Provider
Workflows
review-change-set
Create a change set for review and clean it up when it is empty.
Creates a change set, waits for it to compute, and deletes it if it contains no changes; otherwise leaves it in place for review.
1
createChangeSet
createChangeSet
Create a change set diffing the candidate template against the stack's current template.
2
pollChangeSet
describeChangeSet
Poll DescribeChangeSet until it finishes computing. Branch to cleanup when it failed (typically because there were no changes), or end with the change set intact when real changes are present.
3
deleteEmptyChangeSet
deleteChangeSet
Delete the empty or failed change set so it does not linger and risk being executed by mistake.