Skip to content
This repository was archived by the owner on Jun 13, 2023. It is now read-only.

Commit 9166968

Browse files
authored
feat(publish_layer): added both archs ARM and x86-64 as compatible (#390)
1 parent 0870c1a commit 9166968

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/publish_layer.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ for region in "${regions[@]}"
1010
do
1111
echo ${region}
1212
aws s3 cp epsagon-python-layer.zip s3://epsagon-layers-${region}/
13-
LAYER_VERSION=$(aws lambda publish-layer-version --layer-name epsagon-python-layer --description "Epsagon Python layer that includes pre-installed packages to get up and running with monitoring and distributed tracing" --content S3Bucket=epsagon-layers-${region},S3Key=epsagon-python-layer.zip --compatible-runtimes python3.8 python3.7 python3.6 python2.7 --license-info MIT --region ${region} | jq '.Version')
13+
LAYER_VERSION=$(aws lambda publish-layer-version --layer-name epsagon-python-layer --description "Epsagon Python layer that includes pre-installed packages to get up and running with monitoring and distributed tracing" --content S3Bucket=epsagon-layers-${region},S3Key=epsagon-python-layer.zip --compatible-runtimes python3.8 python3.7 python3.6 python2.7 --compatible-architectures "arm64" "x86_64" --license-info MIT --region ${region} | jq '.Version')
1414
aws lambda add-layer-version-permission --layer-name epsagon-python-layer --version-number ${LAYER_VERSION} --statement-id sid1 --action lambda:GetLayerVersion --principal \* --region ${region}
1515
done
1616

0 commit comments

Comments
 (0)