File tree Expand file tree Collapse file tree 4 files changed +986
-10
lines changed Expand file tree Collapse file tree 4 files changed +986
-10
lines changed Original file line number Diff line number Diff line change 11{
22 "devDependencies" : {
3- "serverless-plugin-datadog" : " ^2.18.0"
3+ "serverless-plugin-datadog" : " ^2.18.0" ,
4+ "serverless-python-requirements" : " ^6.1.1"
45 }
56}
Original file line number Diff line number Diff line change 1- certifi == 2024.12.14
2- charset-normalizer == 3.4.1
3- idna == 3.10
41requests == 2.32.3
5- urllib3 == 2.3.0
Original file line number Diff line number Diff line change @@ -20,6 +20,9 @@ provider:
2020 iam :
2121 # IAM permissions require that all functions are deployed with this role
2222 role : " arn:aws:iam::425362996713:role/serverless-integration-test-lambda-role"
23+ layers :
24+ - { Ref: PythonLambdaLayer }
25+ - { Ref: PythonRequirementsLambdaLayer }
2326
2427plugins :
2528 - serverless-python-requirements
@@ -28,6 +31,7 @@ custom:
2831 pythonRequirements :
2932 dockerizePip : true
3033 dockerRunCmdExtraArgs : ["--platform", "linux/${env:ARCH}"]
34+ dockerImage : python:${env:PYTHON_VERSION}
3135 layer :
3236 compatibleRuntimes :
3337 - ${env:SERVERLESS_RUNTIME}
@@ -43,8 +47,6 @@ functions:
4347 name : integration-tests-python-${sls:stage}-async-metrics_${env:RUNTIME}
4448 handler : handle.handle
4549 runtime : ${env:SERVERLESS_RUNTIME}
46- layers :
47- - { Ref: PythonLambdaLayer }
4850 environment :
4951 DD_FLUSH_TO_LOG : true
5052
@@ -53,5 +55,3 @@ functions:
5355 name : integration-tests-python-${sls:stage}-sync-metrics_${env:RUNTIME}
5456 handler : handle.handle
5557 runtime : ${env:SERVERLESS_RUNTIME}
56- layers :
57- - { Ref: PythonLambdaLayer }
You can’t perform that action at this time.
0 commit comments