You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 havezip: 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.
The text was updated successfully, but these errors were encountered: