🚀 CF-Purge
Quickly delete CloudFormation stacks that match a pattern.
CF-Purge is a blazing-fast CLI tool to bulk-delete AWS CloudFormation stacks using simple glob patterns. Perfect for cleaning up dev/test environments or automating stack management.
⭐ Star on GitHub🍺 Install with Homebrew
brew tap dzhuneyt/tap
brew install cf-purge
Or grab one of the latest releases.
⚡ Usage Examples
Delete all stacks that match a glob pattern:
cf-purge --glob "*-some-glob-pattern-*"
Delete all stacks that end with -api
:
cf-purge --glob "*-api"
Delete all stacks that start with my-stack-
:
cf-purge --glob "my-stack-*"
Why CF-Purge?
- 🏎️ Fast: Instantly finds and deletes stacks in bulk
- 🔍 Flexible: Use glob patterns to match exactly what you want
- 🛡️ Safe: Only deletes stacks you specify
- 🍺 Easy Install: Homebrew support for one-command setup
- 🧑💻 Open Source: View on GitHub