alexcasalboni / aws-lambda-power-tuning

AWS Lambda Power Tuning is an open-source tool that can help you visualize and fine-tune the memory/power configuration of Lambda functions. It runs in your own AWS account - powered by AWS Step Functions - and it supports three optimization strategies: cost, speed, and balanced.
Apache License 2.0
5.5k stars 379 forks source link

Add log groups with retention value #174

Closed nocquidant closed 2 years ago

nocquidant commented 2 years ago

This pull request is used to set a retention value for log groups (other than never expired). Also, because log groups are defined as resources in CFN, tags from SAM are applied to log groups.

alexcasalboni commented 2 years ago

Thanks for contributing šŸŽ‰šŸ™

Iā€™m going to review & merge this PR next week (once back from vacation).

7 days sounds like a good retention value, as you can also check Step Functions logs and intermediate states if you really need to fetch past power-tuning results.

alexcasalboni commented 2 years ago

@ldcorentin @andybkay this looks like a good addition for Terraform too :)

alexcasalboni commented 2 years ago

Just published this on SAR as version 4.2.1 šŸ‘Œ