Skip to content

Commit

Permalink
Try adding complete_platform JSON for lambda
Browse files Browse the repository at this point in the history
  • Loading branch information
huonw committed May 5, 2022
1 parent cd6081f commit e37005b
Show file tree
Hide file tree
Showing 2 changed files with 580 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/lambda-package/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@ python_sources()
# wheel compatible with all Pythons/platforms: https://pypi.org/project/urllib3/1.26.9/#files
python_requirement(name="urllib3", requirements=["urllib3==1.26.9"])

file(name="complete_platform_lambda", source="./complete_platform_lambda.json")

python_awslambda(
name="awslambda",
handler="lambda.py:handler",
runtime="python3.9",
complete_platforms=[":complete_platform_lambda"],
)

archive(name="validate_complete_platform_lambda", files=[":complete_platform_lambda"], format="zip")
Loading

0 comments on commit e37005b

Please sign in to comment.