File tree 4 files changed +986
-10
lines changed
4 files changed +986
-10
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"devDependencies" : {
3
- "serverless-plugin-datadog" : " ^2.18.0"
3
+ "serverless-plugin-datadog" : " ^2.18.0" ,
4
+ "serverless-python-requirements" : " ^6.1.1"
4
5
}
5
6
}
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
4
1
requests == 2.32.3
5
- urllib3 == 2.3.0
Original file line number Diff line number Diff line change @@ -20,6 +20,9 @@ provider:
20
20
iam :
21
21
# IAM permissions require that all functions are deployed with this role
22
22
role : " arn:aws:iam::425362996713:role/serverless-integration-test-lambda-role"
23
+ layers :
24
+ - { Ref: PythonLambdaLayer }
25
+ - { Ref: PythonRequirementsLambdaLayer }
23
26
24
27
plugins :
25
28
- serverless-python-requirements
@@ -28,6 +31,7 @@ custom:
28
31
pythonRequirements :
29
32
dockerizePip : true
30
33
dockerRunCmdExtraArgs : ["--platform", "linux/${env:ARCH}"]
34
+ dockerImage : python:${env:PYTHON_VERSION}
31
35
layer :
32
36
compatibleRuntimes :
33
37
- ${env:SERVERLESS_RUNTIME}
@@ -43,8 +47,6 @@ functions:
43
47
name : integration-tests-python-${sls:stage}-async-metrics_${env:RUNTIME}
44
48
handler : handle.handle
45
49
runtime : ${env:SERVERLESS_RUNTIME}
46
- layers :
47
- - { Ref: PythonLambdaLayer }
48
50
environment :
49
51
DD_FLUSH_TO_LOG : true
50
52
@@ -53,5 +55,3 @@ functions:
53
55
name : integration-tests-python-${sls:stage}-sync-metrics_${env:RUNTIME}
54
56
handler : handle.handle
55
57
runtime : ${env:SERVERLESS_RUNTIME}
56
- layers :
57
- - { Ref: PythonLambdaLayer }
You can’t perform that action at this time.
0 commit comments