Unable to delete S3 bucket

0

Hello,

I have an S3 bucket that appears to be stuck in a state that makes me unable to completely delete it or recreate it. I cannot update my CloudFormation stack now either because it thinks it was able to delete the bucket but then it fails to recreate it because it already exists. It looks like a bug to me.

The bucket is listed in the UI but attempting to delete it manually does nothing from a user's perspective. I see that an HTTP request returns 404 when I attempt to delete it. The bucket cannot be viewed either as it gives the error "Data not found". It does not seem to be assigned to a region either anymore because the value is blank in the list of buckets.

I have temporarily worked around the problem by creating a new bucket with a different name.

How can we fix this problem? I realize it is hard to help without knowing exactly which bucket it is but how do we exchange information without sharing it with everyone?

Thank you!

sldayo
已提问 5 年前538 查看次数
2 回答
0

The bucket disappeared on its own eventually.

sldayo
已回答 5 年前
0

To help you solve your problem, here are the possible solutions you can do : 1- Make sure to empty all objects content data that can be found on the bucket(files,folders,...etc) Before attempting to delete it. 2- Inspect the CloudFormation stack resources to ensure that the bucket is not referenced or used by any other resources. If there are dependencies on the bucket, you may need to update or remove them before attempting to delete the stack. 3-Make sure that you have the necessary permissions and ownership of the bucket. Check the bucket's access control policies, IAM roles, and user permissions to ensure that you have the required privileges to delete the bucket.

已回答 1 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则