From 4a131d000b7f57dea2594cc29c5c70637f1dc21c Mon Sep 17 00:00:00 2001 From: bflynn-cms Date: Fri, 23 Aug 2024 06:36:12 -0500 Subject: [PATCH] adding log events to ensure they are occuring (#1497) --- destroy.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/destroy.sh b/destroy.sh index 3c9d70a0c..e208a9247 100755 --- a/destroy.sh +++ b/destroy.sh @@ -53,6 +53,7 @@ do #delete any unversioned files echo `aws s3 rm s3://$x/ --recursive` #turn off writes to bucket + echo 'Denying writes to bucket ' $x echo `aws s3api put-bucket-policy --bucket $x --policy '{ "Version": "2012-10-17", "Statement": [ @@ -67,6 +68,7 @@ do ] }'` #force delete the bucket + echo 'Deleting bucket ' $x echo `aws s3api rb s3://$x --force` done echo 'deleting stack: ' $i