Skip to content

Instantly share code, notes, and snippets.

@garystafford

garystafford/step18.sh

Last active Jan 2, 2020
Embed
What would you like to do?
# 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
You can’t perform that action at this time.