Skip to content

Instantly share code, notes, and snippets.

@garystafford
Last active January 2, 2020 21:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save garystafford/8567b86f9fd623700412fab61aad866e to your computer and use it in GitHub Desktop.
Save garystafford/8567b86f9fd623700412fab61aad866e to your computer and use it in GitHub Desktop.
# 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