aws lambda Unable to import module 'lambda_function': No module named 'requests'
#requests library doesn't come by default in lambda. It looks like you are trying to import it in your function / library somewhere
# You would need to zip the requests library in the root of your zip file.
$ pip install requests -t ./.
# Once it is completed, zip the application and upload it to the function. If you have a requirements.txt, add requests to it.
(OR)
mkdir lambda_layers
cd lambda_layers
mkdir python
cd python
pip install requests -t ./
cd ..
zip -r python_modules.zip .