scan_cloudwatch_waste
Identifies CloudWatch Log Groups with no retention policy, calculates wasted costs, and provides recommended retention periods and CLI fixes.
Instructions
Finds CloudWatch Log Groups with no retention policy (infinite retention costs $0.03/GB-month). Returns groups, estimated monthly cost, recommended retention periods by log type, and CLI commands to fix top offenders.
Args: regions: Regions to scan. Defaults to all opted-in regions.
Examples: - "Which CloudWatch log groups have no retention policy?" - "Scan for infinite log retention across all regions"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| regions | No |