I created a s3 bucket using console, while configuration I removed the default selected user. Now when I am trying to delete the bucket using console it says access denied. I understand I should have removed the user. However when I click on bucket name in permission it show owner: myUserName and bucket policy: no How can I delete it? As I understand there is owner but there is no permission to owner as I removed it while configuration.
You are not able to delete it because there is a deny effect on "s3:DeleteBucket" on all principals according to this thread
You can simply follow these steps -
Now you will be able to delete the bucket.
Incidentally, before you click on delete if you take a close look at the last element of the "Statement" array, you'll see what was causing the problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With