Create the virtualenv in your local machine. Note: The AWS lambda only support the python2.7 and python3.6. So we can create either python2.7 or python3.6 ...
Amazon Lambda is probably the most famous serverless service available today offering low cost and practically no cloud infrastructure governance needed.
14.08.2018 · No module named 'requests_aws4auth' Any solution or alternative way to get the auth created using the aws credentials would be also welcome. python python-3.x amazon-web-services aws-lambda python-3.6
01.01.2020 · I’m using following external packages for handling ElasticSearch from lambda: 1. requests_aws4auth: Use the below command to install requests-aws4auth through pip. pip install requests-aws4auth requests-aws4auth is tested on Python 2.7 and 3.3 and up. 2. requests: Use the below command to install requests through pip.
Python requests library is by default not avaialble in AWS Lambda Python environments. For using requests library in Lambda function a Lambda Layer needs to attached to the Lambda function. This tutorials lists the required steps for creating and attaching Lambda Layer for requests module. Step 1: Create Python Virtual Environment