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

Commit 4b4ddb7

Browse files
ranribronnathaniel
andauthored
feat(layer): add support for python3.9 in Lambda layers (#408)
* feat(layer): add support for python3.9 in Lambda layers * test(travis): add 3.9 Co-authored-by: ronnathaniel <[email protected]>
1 parent a71d6d9 commit 4b4ddb7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ python:
44
- "3.6"
55
- "3.7"
66
- "3.8"
7+
- "3.9"
78

89
# for semantic-release
910
before_install:

scripts/publish_layer.sh

Lines changed: 1 addition & 1 deletion
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 --compatible-architectures "arm64" "x86_64" --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.9 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)