A basic Lambda function to proxy through the event to a PUT-able endpoint.
Specifically aimed at notifying an application of an S3 PUT event, making the process more event driven than just polling the S3 bucket.
- Python 2.7
- pip
- virtualenv
- boto3
make build
Simply upload the zip produced by the build step above to a Lambda function with the Python 2.7 run time and the handler set to s3_web_service_proxy.handler
.
This repo provides a Terraform module that will deploy and configure the Lambda function and supporting infrastructure with minimal configuration.
It currently requires lists of subnet IDs and security group IDs as the expectation is that this Lambda function would spawn inside a VPC to proxy the request through to an application that doesn't publicly expose this API. That said, there's no real reason why this has to be the case so at some point these will become optional rather than required.
virtualenv env
. env/bin/activate
make test
TODO:
- Terraform - make VPC configuration optional
- Cloudformation to deploy things
- Launch stack button