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.

답변함 한 달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠