-
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
Error building with Bazel using module github.com/aws/aws-sdk-go-v2/service/dynamodb v1.25.2 #2372
Comments
@digitalandrew |
|
@lucix-aws - I followed your advice and rolled all of my aws sdk deps forward to the latest version, this fixed the issue at that time for I've rolled all aws go deps forward to latest Here is my
|
Describe the bug
Since the most recent version of the
github.com/aws/aws-sdk-go-v2/service/dynamodb
module builds via Bazel using this module are failing with error message:external/com_github_aws_aws_sdk_go_v2_service_dynamodb/endpoints.go:495:39: undefined: endpoints.MapFIPSRegion
Manually reverting back to the previous version of the module fixes this issue.
Expected Behavior
Binaries will successfully build using this module.
Current Behavior
Binaries importing this module are failing to build when building via Bazel with error:
external/com_github_aws_aws_sdk_go_v2_service_dynamodb/endpoints.go:495:39: undefined: endpoints.MapFIPSRegion
Reproduction Steps
Create a simple go application that imports "github.com/aws/aws-sdk-go-v2/service/dynamodb" and use standard Bazel build settings to build.
Possible Solution
No response
Additional Information/Context
No response
AWS Go SDK V2 Module Versions Used
require (
github.com/aws/aws-sdk-go-v2 v1.23.0
github.com/aws/aws-sdk-go-v2/config v1.19.1
github.com/aws/aws-sdk-go-v2/feature/dynamodb/attributevalue v1.12.2
github.com/aws/aws-sdk-go-v2/feature/dynamodb/expression v1.6.2
github.com/aws/aws-sdk-go-v2/service/dynamodb v1.25.2
github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.21.6
)
require (
github.com/aws/aws-sdk-go-v2/credentials v1.13.43 // indirect
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.13.13 // indirect
github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.3 // indirect
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.3 // indirect
github.com/aws/aws-sdk-go-v2/internal/ini v1.3.45 // indirect
github.com/aws/aws-sdk-go-v2/service/dynamodbstreams v1.17.2 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.10.1 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.8.3 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.37 // indirect
github.com/aws/aws-sdk-go-v2/service/sso v1.15.2 // indirect
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.17.3 // indirect
github.com/aws/aws-sdk-go-v2/service/sts v1.23.2 // indirect
github.com/aws/smithy-go v1.17.0 // indirect
)
Compiler and Version used
go version go1.20.5 linux/amd64
Operating System and version
linux 5.15.49-linuxkit
The text was updated successfully, but these errors were encountered: