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 b1f0490
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/integration/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,18 @@ provider:
role: "arn:aws:iam::425362996713:role/serverless-integration-test-lambda-role"
layers:
- { Ref: PythonLambdaLayer }
- { Ref: PythonRequirementsLambdaLayer }

plugins:
- serverless-python-requirements

custom:
pythonRequirements:
pythonBin: python3
layer:
compatibleRuntimes:
- ${env:SERVERLESS_RUNTIME}

layers:
python:
package:
Expand Down

0 comments on commit b1f0490

Please sign in to comment.