Example: Create requests layer
$ mkdir python
$ cd python
$ pip install requests -t .
$ cd ..
$ zip -r python.zip python
Rename the zip file to requests.zip
Create a lambda layer by uploading this zip file.
$ mkdir python
$ cd python
$ pip install requests -t .
$ cd ..
$ zip -r python.zip python
Rename the zip file to requests.zip
Create a lambda layer by uploading this zip file.