This code is to demonstrate how to use the logging library with a python lambda, and also setup associated CloudWatch log group, metric filter and alarm as below:
simonhanmer/aws-python-logging-example
Simple terraform code to create lambda to demo logging library and linking to CloudWatch logs, filters and alarms.
HCL