We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51fefdf commit a132b04Copy full SHA for a132b04
scripts/sign_layers.sh
@@ -41,6 +41,18 @@ if [ "$1" = "prod" ]; then
41
S3_BUCKET_NAME="dd-lambda-signing-bucket"
42
fi
43
44
+if [ -z "$LAYER_FILE" ]; then
45
+ echo "Layer file not specified, running for all layer files."
46
+else
47
+ echo "Layer file is specified: $LAYER_FILE"
48
+ if (printf '%s\n' "${LAYER_FILES[@]}" | grep -xq $LAYER_FILE); then
49
+ LAYER_FILES=($LAYER_FILE)
50
+ else
51
+ echo "Unsupported layer found, valid options are : ${LAYER_FILES[@]}"
52
+ exit 1
53
+ fi
54
+fi
55
+
56
for LAYER_FILE in "${LAYER_FILES[@]}"
57
do
58
echo
0 commit comments