About R2 location hints
I am in trouble because I created a bucket with the wrong location hint in R2.
I would like to fix this, but is there any way?
According to the documentation, it appears that deleting and recreating the bucket is not available.
3 Replies
No you have to delete and recreate. Are you getting an error when trying to delete the bucket?
I believe it was a reference to
Location Hints are only honored the first time a bucket with a given name is created. If you delete and recreate a bucket with the same name, the original bucket’s location will be used.https://developers.cloudflare.com/r2/reference/data-location/#additional-considerations The new bucket needs to have a different name
Ah yeah