AWS Lambda that extends the EC2 Elastic IP API
First make a lambda_configs directory:
mkdir ./lambda_configs
Next, add a lambda_configs/lambda_deploy.cfg file:
[lambda_config]
# KMS auth key to use
kmsauth_key = awseipext-production
# The 'to' context for kmsauth
kmsauth_to_context = awseipext-production
To build the zip file for publishing:
make publish
This will write the zip file into:
./publish/awseipext_lambda.zip
To install the virtualenv and run tests:
make develop
make test
This lambda doesn't require any binary dependencies at this point, so it's possible to use a virtualenv from basically anywhere, but it's a lot saner to use a docker image like docker lambda to build this instead.