-
Notifications
You must be signed in to change notification settings - Fork 670
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
LocationRestraint always empty on GetBucketLocation call #908
Comments
Is any solution for this? I had same issue about |
I'm having the same issue, I tried with an assume role using the assume role workaround and getting the same empty result. ctx := context.TODO()
getBucketLocationResponse, err := s3Client.GetBucketLocation(context.Background(), |
|
Describe the bug
GetBucketLocation
returns empty LocationConstraintVersion of AWS SDK for Go?
Example: v0.29.0
Version of Go (
go version
)?go version go1.15.5 linux/amd64
To Reproduce (observed behavior)
Expected behavior
For the region that the bucket exists in to be returned (only nil/empty for buckets in us-east-1, per the documentation).
Additional context
I've validated that the proper region is returned via the aws cli
The text was updated successfully, but these errors were encountered: