forest-fire 0.1.0.0 → 0.1.0.1
raw patch · 2 files changed
+24/−7 lines, 2 files
Files
- README.md +22/−5
- forest-fire.cabal +2/−2
README.md view
@@ -19,13 +19,26 @@ You'll need the following installed and available to be able to use this software: -* Haskell Stack-* AWS CLI interface+### [Haskell Stack](https://docs.haskellstack.org/en/stable/README/) +You'll want to install Stack using your local package manager (yes,+it's available on Homebrew as `haskell-stack`), or if you're+adventurous, using their `curl | bash` method...++You'll need to add `~/.local/bin` to your `$PATH`.++### AWS CLI interface++I'm guessing that this is a thing you'll already have.+ ## Instructions -tba+To download and install the utility, simply run: +```sh+stack install forest-fire+```+ # Usage If you simply run the tool without arguments, it'll print usage@@ -33,14 +46,18 @@ ## Find out what depends on a stack +Note that this performs a **dry run** (read-only). The dependency+tree will be printed, along with the order in which you'd have to+perform deletions, but nothing will be executed.+ ```sh-stack exec forest-fire -- "kubernetes-dynamic-91acf0ef-lifecycle"+forest-fire "kubernetes-dynamic-91acf0ef-lifecycle" ``` ## Perform the deletions if you're satisfied with the tree ```sh-stack exec forest-fire -- "kubernetes-dynamic-91acf0ef-lifecycle" --delete+forest-fire "kubernetes-dynamic-91acf0ef-lifecycle" --delete ``` # Credits
forest-fire.cabal view
@@ -1,7 +1,7 @@ name: forest-fire-version: 0.1.0.0+version: 0.1.0.1 synopsis: Recursively delete CloudFormation stacks and their dependants-description: |+description: This simple tool will repeatedly query CloudFormation stacks for outputs, and see if any other stacks are importing those. This is to make it easier to tear down