# Python Raven Vulnerability ## Setup `python -m pip install --upgrade poetry` to install Poetry ## Lambdas The project contains the following lambdas under the lambdas directory * do-nothing-lambda ## Local Mode * `make build` to resolve and install dependencies * `make test` to execute the tests * `make package` to create deployable zipped packages * `make help` to see a list of all available commands ### Deploying the Lambda from Local The Lambda should be deployed by publishing a new version to AWS which is referenced by the Lambda infrastructure using the "live" alias, therefore deploying the Lambda is a two step process: 1. Publish a new version of the Lambda `aws lambda update-function-code --function-name app- --publish --zip-file fileb://` Note the Lambda version in the response. 2. Update the "live" alias `aws lambda update-alias --function-name app- --name live --function-version ` The "live" alias is updated automatically when deploying through jules.