Skip to content

exclude files from zip step? #513

Open
@jbddc

Description

@jbddc

Hey guys,

I'm trying to expose some native lib .so files to my python lambda, but they are zipped together with the dependencies since I have zip: true and, consequently, python doesn't pick them up during runtime.

I've uploaded a custom package for my lambda where I kept my python dependencies in the zip, but extracted the .so files to a lib folder in the root.
In this scenario, the lambda runs with no issues, picking up the native deps via the LD_LIBRARY_PATH env var.

Any way to exclude some files from the zip stage? I've tried different strategies based on the docs, but so far unsuccessful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions