https://pantsbuild.org/ logo
#general
Title
# general
b

brainy-school-53085

04/29/2022, 11:29 AM
Hi all 👋 thanks for the great build tool! Question - I'm using
python_awslambda
to build a zip artifact for a lambda. I'd like to set
include_requirements=False
, and deploy them as a separate lambda layer. Is there a target that can create lambda-compatible zip archives of dependencies? Along the lines of:
Copy code
python_requirements(
    name="requirements",
    source="...",
)

archive(
    name="zipped_requirements_for_layer",
    files=[":requirements"],
    format="zip",
)
👋 1
c

curved-television-6568

04/29/2022, 12:14 PM
Hi Matthew, and welcome! 👋 I’ve no clue about lambdas so will defer that to other community members or maintainers to chime in.. 🙂
3 Views