amazon web services - Can't Delete Empty S3 Bucket -


i have s3 bucket 100% empty. versioning never enabled on bucket. however, still cannot remove bucket. have tried via console , cli tool. on console says "error" no error message. cli , api tells me: "an error occurred (bucketnotempty) when calling deletebucket operation: bucket tried delete not empty". have tried of following:

aws s3 rb s3://<bucket_name> --force -> bucketnotempty

aws s3 rm s3://<bucket_name> --recursive -> no output (because it's empty)

aws s3api list-object-versions --bucket <bucket_name> -> no output (because versioning never enabled)

aws s3api list-multipart-uploads --bucket <bucket_name> -> no outputs

aws s3api list-objects --delimiter=/ --prefix= --bucket <bucket_name> -> no output (because it's empty)

  • it has no dependencies (it's not used cloudfront or else i'm aware of).
  • the bucket has been empty approximately 5 days.
  • i able delete similar bucket same iam user. additionally iam user has admin access.

i had similar issue , able delete bucket after waiting overnight. it's pretty weak solution may save , other time pounding on it.

if it's still not deleting after actions in comments there things aws support can fix properly. again weak answer register ticket aws support , post response here answer others.


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -