1 Answer
- Newest
- Most votes
- Most comments
0
You can create a Lambda Layer for the requests library:
https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
or you can include your dependencies within your Lambda artifact upon upload, which would look something like:
In the second route, you would just include the version of requests in the requirement file before you run pip.
answered 5 years ago
Relevant content
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 months ago