Closed algrebe closed 5 years ago
I use the following shell function from outside the repository to create the lambda
create_ariados_lambda() { cd /path/to/virtualenv zip -r9 /tmp/myfunction.zip . cd - cd ariados zip -r9 -g /tmp/myfunction.zip ariados/ cd - mv /tmp/myfunction.zip . aws lambda create-function --function-name my-test-function --runtime python2.7 --role ROLE --handler 'ariados.lambda_handlers.handler' --zip-file fileb://myfunction.zip }
I use the following shell function from outside the repository to create the lambda