File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ MINOR_VERSION="${1}"
13
13
14
14
# retrieve the available "VERSION/BUILD_DATE" prefixes (e.g. "1.28.1/2023-09-14")
15
15
# from the binary object keys, sorted in descending semver order, and pick the first one
16
- LATEST_BINARIES=$( aws s3api list-objects-v2 --bucket amazon-eks --prefix " ${MINOR_VERSION} " --query ' Contents[*].[Key]' --output text --no-sign-request | cut -d' /' -f-2 | sort -Vru | head -n1)
16
+ LATEST_BINARIES=$( aws s3api list-objects-v2 --bucket amazon-eks --prefix " ${MINOR_VERSION} " --query ' Contents[*].[Key]' --output text --region us-west-2 -- no-sign-request | cut -d' /' -f-2 | sort -Vru | head -n1)
17
17
18
18
if [ " ${LATEST_BINARIES} " == " None" ]; then
19
19
echo >&2 " No binaries available for minor version: ${MINOR_VERSION} "
You can’t perform that action at this time.
0 commit comments