Last active
January 2, 2020 21:41
-
-
Save garystafford/8567b86f9fd623700412fab61aad866e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# delete s3 contents first | |
aws s3 rm s3://${DATA_BUCKET} --recursive | |
aws s3 rm s3://${SCRIPT_BUCKET} --recursive | |
aws s3 rm s3://${LOG_BUCKET} --recursive | |
# then, delete lambda cfn stack | |
aws cloudformation delete-stack --stack-name smart-hub-lambda-stack | |
# finally, delete athena-glue-s3 stack | |
aws cloudformation delete-stack --stack-name smart-hub-athena-glue-stack |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment