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 built a Lambda which used pysftp, which uses the cryptography library. Since I built it on my Mac, I get errors about ELF versions when it tries to load the .so in the Lambda.
Yeah, I thought about that. I'm not sure how we would implement that in this current model though. We wouldn't always want our dependencies in a Layer? Or maybe that's not such a bad idea. Create a Layer with all libraries and the Lambda code is just our handler?
I built a Lambda which used
pysftp
, which uses the cryptography library. Since I built it on my Mac, I get errors about ELF versions when it tries to load the .so in the Lambda.I used https://medium.com/i-like-big-data-and-i-cannot-lie/how-to-create-an-aws-lambda-python-3-6-deployment-package-using-docker-d0e847207dd6 to get around this, which I feel like we could add to the workflow to build the package (optionally?).
Note that this procedure has an error (It recommends zip * instead of zip .), which if you do that results in this error: https://github.com/snowflakedb/examples/issues/4
The text was updated successfully, but these errors were encountered: