Skip to content

Commit 53c40ff

Browse files
committed
Fix deploy script
1 parent 9e2b96e commit 53c40ff

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/publish_layers.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ set -e
1313
# Makes sure any subprocesses will be terminated with this process
1414
trap "pkill -P $$; exit 1;" INT
1515

16-
NODE_VERSIONS_FOR_AWS_CLI=("nodejs10.x" "nodejs12.x")
16+
NODE_VERSIONS_FOR_AWS_CLI=("nodejs10.x" "nodejs12.x" "nodejs14.x")
1717
LAYER_PATHS=(".layers/datadog_lambda_node10.15.zip" ".layers/datadog_lambda_node12.13.zip" ".layers/datadog_lambda_node14.15.zip")
1818
LAYER_NAMES=("Datadog-Node10-x" "Datadog-Node12-x" "Datadog-Node14-x")
1919
AVAILABLE_REGIONS=$(aws ec2 describe-regions | jq -r '.[] | .[] | .RegionName')
@@ -85,7 +85,6 @@ do
8585
for layer_name in "${LAYER_NAMES[@]}"; do
8686
aws_version_key="${NODE_VERSIONS_FOR_AWS_CLI[$i]}"
8787
layer_path="${LAYER_PATHS[$i]}"
88-
8988
publish_layer $region $layer_name $aws_version_key $layer_path &
9089
PIDS+=($!)
9190
if [ ${#PIDS[@]} -eq $BATCH_SIZE ]; then

0 commit comments

Comments
 (0)