Hello everyone, I am trying to deploy a Python Lambda created inside a virtualenv.
If I run the Lambda in local everything is working fine, but when I try to deploy the lambda in AWS, I am getting this error:
[ERROR] Runtime.ImportModuleError: Unable to import module 'puller': No module named 'raindropio'
Traceback (most recent call last):
I tried almost every combination of the plugin, but I am not figuring out a solution. This is my serverless.yml section:
plugins:
- serverless-python-requirements
custom:
pythonRequirements:
dockerizePip: non-linux
zip: true
slim: true
fileName: requirements.txt
I checked on previous posts and I saw that other users are reporting the same problem.