This Repo is an example written in Python that shows how is possible to send the Lambda logs to a S3 Bucket without the need of Cloudwatch. This is done using the Lambda Log API data streams.
To run this example, it's required the following depedencies:
- tfenv
- terraform
- make
This code runs using a Makfile file.
You need first to setup the remote terraform state file in a bucket and to create the relevant DynamoDB containing the log file.
make onetimes3
To Install the lambdas:
make tinit
make tlan
make tapply
To destroy the setup
make tdestroy