diff --git a/packages/aws-lambda/layer/bin/publish-layer.sh b/packages/aws-lambda/layer/bin/publish-layer.sh index 6f9687b270..89fd6c4716 100755 --- a/packages/aws-lambda/layer/bin/publish-layer.sh +++ b/packages/aws-lambda/layer/bin/publish-layer.sh @@ -379,7 +379,7 @@ if [[ -z $SKIP_AWS_PUBLISH_LAYER ]]; then --license-info $LICENSE \ --zip-file fileb://$ZIP_NAME \ --output json \ - --compatible-runtimes nodejs18.x nodejs20.x \ + --compatible-runtimes nodejs18.x nodejs20.x nodejs22.x\ | jq '.Version' \ ) || true # NOTE: If the upload fails, the bash script should not fail.