Skip to content

Commit

Permalink
Specify python bin.
Browse files Browse the repository at this point in the history
  • Loading branch information
purple4reina committed Jan 28, 2025
1 parent a9a86dc commit 2aba4b7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/integration/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,16 @@ provider:
role: "arn:aws:iam::425362996713:role/serverless-integration-test-lambda-role"
layers:
- { Ref: PythonLambdaLayer }
- { Ref: PythonRequirementsLambdaLayer }

plugins:
- serverless-python-requirements

custom:
pythonRequirements:
pythonBin: ${env:SERVERLESS_RUNTIME}
layer: true

layers:
python:
package:
Expand Down

0 comments on commit 2aba4b7

Please sign in to comment.