CFNgin destroy action.
Action(context, provider_builder=None, cancel=None)¶
Responsible for destroying CloudFormation stacks.
Generates a destruction plan based on stack dependencies. Stack dependencies are reversed from the build action. For example, if a Stack B requires Stack A during build, during destroy Stack A requires Stack B be destroyed first.
The plan defaults to printing an outline of what will be destroyed. If forced to execute, each stack will get destroyed in order.
DESCRIPTION= 'Destroy stacks'¶
Any steps that need to be taken prior to running the action.
Kicks off the destruction of the stacks in the stack_definitions.
Any steps that need to be taken after running the action.