This is a bash script I wrote to quickly create a python 3.7 layer on AWS.
The first part creates a zip file.
The trick to create a correct zip file for python lambda layers is to ensure the unzipped file has a directory structure like
python/lib/python3.7/site-packages/