File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 22
33BUCKET_PREFIX=nr-layers
44
5- EXTENSION_DIST_URL=https://github.com/newrelic/newrelic-lambda-extension/archive/v1.0.0.zip
5+ EXTENSION_DIST_DIR=extensions
6+ EXTENSION_DIST_URL=https://github.com/newrelic/newrelic-lambda-extension/releases/download/v0.0.2/newrelic-lambda-extension.zip
67EXTENSION_DIST_ZIP=extension.zip
78
89REGIONS=(
@@ -25,7 +26,7 @@ REGIONS=(
2526
2627function build-layer {
2728 echo " Building New Relic Lambda Extension Layer"
28- rm -rf $EXTENSION_DIST_ZIP
29+ rm -rf $EXTENSION_DIST_DIR $ EXTENSION_DIST_ZIP
2930 curl $EXTENSION_DIST_URL -o $EXTENSION_DIST_ZIP
3031 echo " Build complete: ${EXTENSION_DIST_ZIP} "
3132}
@@ -51,7 +52,7 @@ function publish-layer {
5152 --content " S3Bucket=${bucket_name} ,S3Key=${layer_s3key} " \
5253 --description " New Relic Lambda Extension Layer" \
5354 --license-info " Apache-2.0" \
54- --compatible-runtimes dotnetcore1.0 dotnetcore2.0 dotnetcore2.1 dotnetcore3.1 nodejs nodejs8.10 nodejs10.x nodejs12.x go1.x java8 java11 provided python2.7 python3.6 python3.7 python3.8 ruby2.5 ruby2.7 \
55+ --compatible-runtimes " dotnetcore3.1 go1.x java8.al2 java11 provided provided.al2 ruby2.5 ruby2.7" \
5556 --region $region \
5657 --output text \
5758 --query Version)
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ NJS10X_DIST=$DIST_DIR/nodejs10x.zip
88NJS12X_DIST=$DIST_DIR /nodejs12x.zip
99
1010EXTENSION_DIST_DIR=extensions
11- EXTENSION_DIST_URL=https://github.com/newrelic/newrelic-lambda-extension/archive/v1 .0.0 .zip
11+ EXTENSION_DIST_URL=https://github.com/newrelic/newrelic-lambda-extension/releases/download/v0 .0.2/newrelic-lambda-extension .zip
1212EXTENSION_DIST_ZIP=extension.zip
1313
1414REGIONS=(
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ PY37_DIST=dist/python37.zip
99PY38_DIST=dist/python38.zip
1010
1111EXTENSION_DIST_DIR=extensions
12- EXTENSION_DIST_URL=https://github.com/newrelic/newrelic-lambda-extension/archive/v1 .0.0 .zip
12+ EXTENSION_DIST_URL=https://github.com/newrelic/newrelic-lambda-extension/releases/download/v0 .0.2/newrelic-lambda-extension .zip
1313EXTENSION_DIST_ZIP=extension.zip
1414
1515REGIONS=(
You can’t perform that action at this time.
0 commit comments