Lambda functions for handling Psykedelia thumbnail creation from S3 bucket.
There are three required environment variables which should be set to lambda environment.
THUMB_PATH
S3 bucket path for storing the thumbnails without trailing slash (eg. 'thumbs')THUMB_WIDTH
Width of the thumbnail imageTHUMB_HEIGHT
Height of the thumbnail image
npm run create-lambda
Creates zip package of the function code which can be deployednpm run deploy
Deploys the lambda function to AWS