- Newest
- Most votes
- Most comments
Hi,
I would just you to have a look at https://github.com/Legrandin/pycryptodome/issues/69 to find a workaround to your issue. This issue is still open.
Best,
Didier
Hello.
It may not work properly due to dependencies of the OS on which the layer was created.
https://docs.aws.amazon.com/lambda/latest/dg/packaging-layers.html
The first step to creating a layer is to bundle all of your layer content into a .zip file archive. Because Lambda functions run on Amazon Linux, your layer content must be able to compile and build in a Linux environment. If you build packages on your local Windows or Mac machine, you’ll get output binaries for that operating system by default. These binaries may not work properly when you upload them to Lambda.
Most runtimes use Amazon Linux2, so try creating a layer on Amazon Linux2 and see if it works.
https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
Hello,
I followed the documentation below and it worked.
https://repost.aws/pt/knowledge-center/lambda-python-package-compatible
Thanks to all for your help.
BG
Relevant content
- Accepted Answerasked 2 years ago
- asked 9 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 5 months ago
I'll look and try to follow the explanation.
Thanks.