runway.cfngin.actions.destroy module

CFNgin destroy action.

class runway.cfngin.actions.destroy.Action[source]

Bases: BaseAction

Responsible for destroying CloudFormation stacks.

Generates a destruction plan based on stack dependencies. Stack dependencies are reversed from the deploy action. For example, if a Stack B requires Stack A during deploy, 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.

post_run(*, dump: bool | str = False, outline: bool = False, **_kwargs: Any) None[source]

Any steps that need to be taken after running the action.

pre_run(*, dump: bool | str = False, outline: bool = False, **_kwargs: Any) None[source]

Any steps that need to be taken prior to running the action.

run(*, concurrency: int = 0, dump: bool | str = False, force: bool = False, outline: bool = False, tail: bool = False, upload_disabled: bool = False, **_kwargs: Any) None[source]

Kicks off the destruction of the stacks in the stack_definitions.