Skip to content

jecc1982/amazon-sam-cloudwatch-retention-period-setter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sam-cloudwatch-retention-period-setter

This SAM application is based on the https://github.com/aws-samples/amazon-cloudwatch-retention-period-setter

The following modification were made to make deployment easier

  • Use SAM instead of CloudFormation
  • Drop the support for multiple region
  • Trigger lambda every day (instead of CreateLogGroup event)

Prerequisites

  • AWS SAM CLI

Deployment

sam deploy --guided

About

Reduce cost by setting retention period for all CloudWatch logs

Topics

Resources

License

Stars

Watchers

Forks

Languages