1 Answer
- Newest
- Most votes
- Most comments
0
Lambda layers sometimes do not import well due to OS dependencies.
So, it may work well if the OS on which the layers are created is Amazon Linux or Amazon Linux2.
https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html#configuration-layers-compile
Use Pyenv or similar to match Python versions.
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated 3 years ago
