Skip to content

Instantly share code, notes, and snippets.

@scottnixonjr
Created December 4, 2019 22:03
Show Gist options
  • Save scottnixonjr/34b05e0d7322fc23a9ddc6a0464b743e to your computer and use it in GitHub Desktop.
Save scottnixonjr/34b05e0d7322fc23a9ddc6a0464b743e to your computer and use it in GitHub Desktop.
#!/bin/bash
STACK=$(jq -r .stack parameters.json)
REGION=$(jq -r .region parameters.json)
echo "Deleting $STACK Stack"
aws cloudformation delete-stack --stack-name $STACK
aws cloudformation wait stack-delete-complete --stack-name $STACK --region $REGION
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment