jckuester/awsweeper

Support for CloudWatch resources

aghassemlouei opened this issue · 4 comments

Requesting addition of AWS CloudWatch Logs, Alarms, and Events as time permits.

FYI, aws_cloudwatch_log_group released in https://github.com/cloudetc/awsweeper/releases/tag/v0.7.0

Can confirm that cloudwatch log group support has been added and functions as of v0.7.0 in us-gov-west-1 region. Opened up #95 to include it in the all.yml but it looks like it's failing on an unrelated vpc test tag build.

Nevertheless, this issue can either be repurposed to include the following components or open individual ones accordingly:

  • CloudWatch Alarms
  • CloudWatch Events

@aghassemlouei thanks that you can confirm that cloudwatch log group support is working. Indeed, I missed to add the resource to all.yml. Thanks for the hint.

FYI, soon one will be able to delete all resource types without the superfluous way of having them all listed in all.yml. I probably will implement a --delete-all flag or so instead, let's see.

Don't worry about the failing tests. They require credentials for my personal AWS account and for security reasons only repo owners can run them. It's probably a good idea for me to add a note in the README that the travis build will fail for PRs coming from forks.

Feel free to run tests (https://github.com/cloudetc/awsweeper#acceptance-tests) against your AWS account, but you don't have to; I will take care of running them once the PR looks good.

Bumping this thread as there is a rather large need for both resources and as of 0.11.1 it's still unavailable.