-
Notifications
You must be signed in to change notification settings - Fork 656
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
Location service doesn't load the aws region in request #1325
Comments
Hi @hsequeda , |
Was able to confirm this behavior. From some brief debugging it appears the client region is not getting set on the context within the stack. Still investigating the root cause. |
It appears that there is a bug in code generation which result in the |
Looks like this bug affects the following API clients:
|
Related: #1260 |
|
Re-opning this until we cut a new release with the merged fix. |
Hi! Same observation can be made for the marketplacemetering service. |
This particular issue was resolved in https://github.com/aws/aws-sdk-go-v2/releases/tag/release-2021-08-04 but was not closed in a timely manner. @Skarlso if you are still having issues with the AWS Marketplace Metering service please cut us a new issue describing the issue, and provide a code sample for reproducing the error you are seeing. From a quick glace this service does not have the root cause issue here. |
|
Confirm by changing [ ] to [x] below to ensure that it's a bug:
Describe the bug
https://gist.github.com/hsequeda/4c9ace9c0e76cbabd9b9e8312624662f
When I try to run this test the location service throw me this:
--- FAIL: TestCreateRoute (1.89s) aws_location_map_service_test.go:32: Error Trace: aws_location_map_service_test.go:32 Error: Received unexpected error: operation error Location: SearchPlaceIndexForText, failed to resolve service endpoint, an AWS region is required, but was not found Test: TestCreateRoute FAIL
To verify if the credentials are fine, the code contains an invocation of the list buckets method of s3 and works fine with the same 'configs'.
Version of AWS SDK for Go?
v1.3.0
Version of Go (
1.16
)?The text was updated successfully, but these errors were encountered: