Skip to content

Commit 71b076a

Browse files
author
Daniel Lorch
committed
PetAdoption S3 bucket is now deleted in CDK (new feature)
1 parent 3c3c286 commit 71b076a

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

PetAdoptions/cdk/pet_stack/resources/destroy_stack.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,6 @@ aws cloudformation delete-stack --stack-name $STACK_NAME
3838

3939
aws cloudwatch delete-dashboards --dashboard-names "EKS_FluentBit_Dashboard"
4040

41-
# delete s3 buckets
42-
for b in $(aws s3 ls | awk '/services-s3bucketpetadoption/ {print $3}'); do
43-
echo "deleting ${b}"
44-
aws s3 rb s3://$b --force
45-
done
46-
4741
echo CDK BOOTSTRAP WAS NOT DELETED
4842

4943
echo ----- ✅ DONE --------

0 commit comments

Comments
 (0)