Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 966 Bytes

README.md

File metadata and controls

41 lines (28 loc) · 966 Bytes

AWS LAMBDA LOG API

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.

Pre-Requisites

To run this example, it's required the following depedencies:

  • tfenv
  • terraform
  • make

How To Run the Example

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

Documentation