AWS CloudFormation · Arazzo Workflow
CloudFormation Tear Down a Stack
Version 1.0.0
Disable termination protection, delete the stack, then poll until DELETE_COMPLETE.
View Spec
View on GitHub
AutomationCloud ResourcesIaCInfrastructure As CodeStack ManagementArazzoWorkflows
Provider
Workflows
teardown-stack
Disable termination protection and delete a stack to completion.
Turns off termination protection, deletes the stack, and waits for the stack to fully delete.
1
disableProtection
updateTerminationProtection
Disable termination protection so the subsequent DeleteStack call is not rejected.
2
deleteStack
deleteStack
Issue the stack deletion. After this call returns the stack deletion has started and can be polled via DescribeStacks.
3
pollDeletion
describeStacks
Poll DescribeStacks until the stack is gone. End on DELETE_COMPLETE or branch to a failure end on DELETE_FAILED.