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.
[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
Post a Comment