File tree 2 files changed +4
-5
lines changed
2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ for parameters_set in "${PARAMETERS_SETS[@]}"; do
109
109
echo " Deploying functions for runtime : $parameters_set , serverless runtime : ${! serverless_runtime} , \
110
110
python version : ${! python_version} and run id : ${! run_id} "
111
111
112
- PYTHON_VERSION=${! python_version} RUNTIME=$parameters_set SERVERLESS_RUNTIME=${! serverless_runtime} ARCH=${ARCH} SLS_ARCH=${SERVERLESS_FRAMEWORK_ARCH} \
112
+ PYTHON_VERSION=${! python_version} PYTHON_VERSION_NO_DOT= $( echo ${ ! python_version} | sed ' s/\.// ' ) RUNTIME=$parameters_set SERVERLESS_RUNTIME=${! serverless_runtime} ARCH=${ARCH} SLS_ARCH=${SERVERLESS_FRAMEWORK_ARCH} \
113
113
serverless deploy --stage ${! run_id}
114
114
115
115
echo " Invoking functions for runtime $parameters_set "
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
+ - arn:aws:lambda:eu-west-1:770693421928:layer:Klayers-p${env:PYTHON_VERSION_NO_DOT}-requests:17
23
26
24
27
layers :
25
28
python :
@@ -32,8 +35,6 @@ functions:
32
35
name : integration-tests-python-${sls:stage}-async-metrics_${env:RUNTIME}
33
36
handler : handle.handle
34
37
runtime : ${env:SERVERLESS_RUNTIME}
35
- layers :
36
- - { Ref: PythonLambdaLayer }
37
38
environment :
38
39
DD_FLUSH_TO_LOG : true
39
40
@@ -42,5 +43,3 @@ functions:
42
43
name : integration-tests-python-${sls:stage}-sync-metrics_${env:RUNTIME}
43
44
handler : handle.handle
44
45
runtime : ${env:SERVERLESS_RUNTIME}
45
- layers :
46
- - { Ref: PythonLambdaLayer }
You can’t perform that action at this time.
0 commit comments