From b3eeb45039fd83be11976903e1d5a21e7e72650a Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Mon, 14 Oct 2024 12:20:44 +0200 Subject: [PATCH] fix(layer): update partition name in the GovCloud workflow (#5379) fix: partition name update in govcloud verify Co-authored-by: Simon Thulbourn --- .github/workflows/layer_govcloud.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/layer_govcloud.yml b/.github/workflows/layer_govcloud.yml index 7fd18423ae..871417ad77 100644 --- a/.github/workflows/layer_govcloud.yml +++ b/.github/workflows/layer_govcloud.yml @@ -198,6 +198,6 @@ jobs: --version-number - name: Verify Layer run: | - REMOTE_SHA=$(aws --region us-gov-west-1 lambda get-layer-version-by-arn --arn arn:aws:lambda:us-gov-west-1:${{ secrets.AWS_ACCOUNT_ID }}:layer:${{ matrix.layer }}-${{ matrix.arch }}:${{ inputs.version }} --query 'Content.CodeSha256' --output text) + REMOTE_SHA=$(aws --region us-gov-west-1 lambda get-layer-version-by-arn --arn arn:aws-us-gov:lambda:us-gov-west-1:${{ secrets.AWS_ACCOUNT_ID }}:layer:${{ matrix.layer }}-${{ matrix.arch }}:${{ inputs.version }} --query 'Content.CodeSha256' --output text) SHA=$(jq -r '.Content.CodeSha256' ${{ matrix.layer }}_${{ matrix.arch }}.json) test $($REMOTE_SHA == $SHA && echo "SHA OK: ${SHA}" || exit 1 \ No newline at end of file