Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- stacks=$(aws cloudformation list-stacks --query StackSummaries[].[StackName] --output text)
- while read -r line ; do aws cloudformation delete-stack --stack-name "$line"; done <<< "$stacks"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement