Skip to content

exclude files from zip step? #513

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jbddc opened this issue May 7, 2020 · 0 comments
Open

exclude files from zip step? #513

jbddc opened this issue May 7, 2020 · 0 comments
Labels

Comments

@jbddc
Copy link

jbddc commented May 7, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants