Skip to content

Commit

Permalink
feat(aws-lambda): add support for Node.js 18 AWS Lambda runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
Bastian Krol authored and basti1302 committed Mar 14, 2023
1 parent e0a5afb commit 0900ab4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/aws-lambda/layer/bin/publish-layer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ ZIP_PREFIX=instana-nodejs-layer
if [[ $LAMBDA_ARCHITECTURE == arm64 ]]; then
LAYER_NAME=$LAYER_NAME-$LAMBDA_ARCHITECTURE
ZIP_PREFIX=$ZIP_PREFIX-$LAMBDA_ARCHITECTURE
DOCKER_IMAGE_NAME=$DOCKER_IMAGE_NAME-$LAMBDA_ARCHITECTURE
DOCKER_IMAGE_NAME=$DOCKER_IMAGE_NAME-$LAMBDA_ARCHITECTURE
fi

ZIP_NAME=$ZIP_PREFIX.zip
Expand All @@ -126,7 +126,7 @@ echo "SKIP_AWS_PUBLISH_LAYER: $SKIP_AWS_PUBLISH_LAYER"
echo "####"

if [[ -z $NO_PROMPT ]]; then
while true; do
while true; do
read -p "Do you wish to continue (yes or no)? " yn
case $yn in
[Yy]* ) echo "Let's go!"; break;;
Expand Down Expand Up @@ -300,7 +300,7 @@ if [[ -z $SKIP_AWS_PUBLISH_LAYER ]]; then
--license-info $LICENSE \
--zip-file fileb://$ZIP_NAME \
--output json \
--compatible-runtimes nodejs10.x nodejs12.x nodejs14.x nodejs16.x \
--compatible-runtimes nodejs10.x nodejs12.x nodejs14.x nodejs16.x nodejs18.x \
| jq '.Version' \
)
echo " + published version $lambda_layer_version to region $region"
Expand Down

0 comments on commit 0900ab4

Please sign in to comment.