What problem does it solve?
This skill resolves the risk and complexity of cleaning up an already-deployed IPA full-stack pattern by turning “destroy my stacks” into a validated, status-aware, and repeatable teardown process.
Core Features & Use Cases
- Validated prerequisites: Confirms
.env, required variables, AWS credentials, and generated Makefiles are present before any destructive actions.
- Status-aware teardown plan: Detects which CloudFormation stacks exist, shows what will be deleted vs. skipped, and highlights data-loss warnings.
- Double confirmation safety: Requires an initial yes/no confirmation and a second typed namespace confirmation to reduce accidental destruction.
- Idempotent deletion with verification: Executes the aggregate teardown target from generated Makefiles, then verifies stacks are fully deleted and reports remaining failures if any.
- Preserves non-target infrastructure: Keeps the security stack and prepare stacks intact, focusing on the composed pattern teardown.
Quick Start
Run /ipa-destroy and follow the prompts to plan the teardown, confirm twice, and delete the composed infrastructure using the generated Makefile targets.