-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
s3: specifying bucket region causes Container() to return non-existent containers #247
Comments
try this:
and try to get a location.Container("non-existent") and it will return successfully try this:
and it now queries for the bucket region at the end of the function and errors out. |
note: this fix doesn't cover another case I've discovered: if you set endpoint + region, it similarly fails to do the region check. This seems somewhat intentional, maybe due to other providers not having the region concept? |
Would it make sense to call |
If you specify
S3_REGION
then the code path never actually seems to query s3 for the existence of the bucket....The text was updated successfully, but these errors were encountered: