Skip to content

Commit b1f0490

Browse files
committed
Specify python bin.
1 parent a9a86dc commit b1f0490

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/integration/serverless.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,18 @@ provider:
2222
role: "arn:aws:iam::425362996713:role/serverless-integration-test-lambda-role"
2323
layers:
2424
- { Ref: PythonLambdaLayer }
25+
- { Ref: PythonRequirementsLambdaLayer }
2526

2627
plugins:
2728
- serverless-python-requirements
2829

30+
custom:
31+
pythonRequirements:
32+
pythonBin: python3
33+
layer:
34+
compatibleRuntimes:
35+
- ${env:SERVERLESS_RUNTIME}
36+
2937
layers:
3038
python:
3139
package:

0 commit comments

Comments
 (0)