Deleting empty AWS Elastic Beanstalk S3 buckets

Read from https://forums.aws.amazon.com/thread.jspa?threadID=145366

[empty the bucket]
Go to the bucket's policy (bucket --> properties --> permissions --> edit bucket policy)

Then find this statement

{
"Sid": xxxxxxxxx,
"Effect": "Deny",
"Principal": {
"AWS": "*"
},
"Action": "s3:DeleteBucket",
"Resource": xxxxxxxxxx
}

Change the Effect from Deny to Allow.
Save the change to the Bucket Policy.

Now right click on the bucket and press delete.

Comments

Popular posts from this blog

Optional object property access

A short guide to cross-site request forgery attacks

How is an application like a bride's outfit? - 1 minute read