Reputation: 16309
Created two buckets in S3 using a python
script, but the script was terminated a few seconds into it, seemingly resulting in a bad bucket state. The same code has created similar buckets before without issue and they appear in the correct region.
Trying to delete through AWS dashboard yields the following error.
Furthermore, boto3
access via list_buckets
does not include these in the list. Any idea what's going on?
Upvotes: 0
Views: 469
Reputation: 16309
Waited 6 hours or so and it corrected it5self as @John Rotenstein said may happen in comment
Upvotes: 1
Reputation: 33
Maybe this piece of code works, if you run this on cli. aws s3api delete-bucket --bucket-name --force
Upvotes: 2