diff --git a/.github/workflows/layers_govcloud.yml b/.github/workflows/layers_govcloud.yml index 222219e4a..790cecc71 100644 --- a/.github/workflows/layers_govcloud.yml +++ b/.github/workflows/layers_govcloud.yml @@ -105,7 +105,6 @@ jobs: --layer-name AWSLambdaPowertoolsTypeScriptV2 \ --zip-file fileb://./AWSLambdaPowertoolsTypeScriptV2.zip \ --compatible-runtimes "$(jq -r '.CompatibleRuntimes[0]' 'AWSLambdaPowertoolsTypeScriptV2.json')" \ - --compatible-architectures "$(jq -r '.CompatibleArchitectures[0]' 'AWSLambdaPowertoolsTypeScriptV2.json')" \ --license-info "MIT-0" \ --description "$(jq -r '.Description' 'AWSLambdaPowertoolsTypeScriptV2.json')" \ --query 'Version' \ @@ -163,7 +162,6 @@ jobs: --layer-name AWSLambdaPowertoolsTypeScriptV2 \ --zip-file fileb://./AWSLambdaPowertoolsTypeScriptV2.zip \ --compatible-runtimes "$(jq -r '.CompatibleRuntimes[0]' 'AWSLambdaPowertoolsTypeScriptV2.json')" \ - --compatible-architectures "$(jq -r '.CompatibleArchitectures[0]' 'AWSLambdaPowertoolsTypeScriptV2.json')" \ --license-info "MIT-0" \ --description "$(jq -r '.Description' 'AWSLambdaPowertoolsTypeScriptV2.json')" \ --query 'Version' \ @@ -184,4 +182,4 @@ jobs: 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:AWSLambdaPowertoolsTypeScriptV2:${{ env.LAYER_VERSION }}' --query 'Content.CodeSha256' --output text) SHA=$(jq -r '.Content.CodeSha256' 'AWSLambdaPowertoolsTypeScriptV2.json') test "$REMOTE_SHA" == "$SHA" && echo "SHA OK: ${SHA}" || exit 1 - 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:AWSLambdaPowertoolsTypeScriptV2:${{ env.LAYER_VERSION }}' --output table \ No newline at end of file + 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:AWSLambdaPowertoolsTypeScriptV2:${{ env.LAYER_VERSION }}' --output table