RANDOM_STRING=$(aws secretsmanager get-random-password \
--exclude-punctuation --exclude-uppercase \
--password-length 6 --require-each-included-type \
--output text \
--query RandomPassword)
aws s3api create-bucket --bucket awscookbook306-$RANDOM_STRING
aws s3 rm s3://awscookbook306-$RANDOM_STRING/book_cover.png
aws s3api delete-bucket --bucket awscookbook306-$RANDOM_STRING
aws kms disable-key --key-id $KEY_ID
aws kms schedule-key-deletion \
--key-id $KEY_ID \
--pending-window-in-days 7
aws kms delete-alias --alias-name alias/awscookbook306