Skip to content

stackaroo delete

Delete CloudFormation stacks

Synopsis

Delete CloudFormation stacks with dependency-aware ordering and confirmation prompts.

This command safely deletes CloudFormation stacks by:

• Resolving stack dependencies and deleting in reverse order • Showing detailed information about what will be deleted • Prompting for confirmation before deletion

When deleting multiple stacks, they are processed in reverse dependency order to ensure dependent stacks are deleted before their dependencies.

Examples: stackaroo delete dev vpc # Delete single stack with confirmation stackaroo delete dev # Delete all stacks in context with confirmation

CAUTION: Deletion is destructive and cannot be undone. Always verify what will be deleted before confirming.

stackaroo delete <context> [stack-name] [flags]

Options

  -h, --help   help for delete

Options inherited from parent commands

  -c, --config string   config file (default is stackaroo.yaml) (default "stackaroo.yaml")
  -v, --verbose         verbose output

SEE ALSO

  • stackaroo - A command-line tool for managing AWS CloudFormation stacks as code

Released under the BSD 3-Clause licence.