We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ae526f commit 660c258Copy full SHA for 660c258
scripts/build-controller.sh
@@ -138,7 +138,7 @@ mkdir -p "$config_output_dir/crd/common"
138
cp -r "$RUNTIME_CRD_DIR"/crd/* "$config_output_dir/crd/common/"
139
140
if [ -z "$AWS_SDK_GO_VERSION" ]; then
141
- AWS_SDK_GO_VERSION=$(go list -m -f '{{ .Version }}' -modfile "$SERVICE_CONTROLLER_SOURCE_PATH/go.mod" github.com/aws/aws-sdk-go)
+ AWS_SDK_GO_VERSION=$(cat "$SERVICE_CONTROLLER_SOURCE_PATH/apis/$ACK_GENERATE_API_VERSION/ack-generate-metadata.yaml" | yq ".aws_sdk_go_version" -r)
142
fi
143
144
# If there's a generator.yaml in the service's directory and the caller hasn't
0 commit comments