Skip to content

cloud-tinkerers/cloudwatch-tf-module

Repository files navigation

cloudwatch-tf-module

This module:

  • sets up a log group for the main ECS service to use
  • sets up an SNS topic for cloudwatch alarms to trigger
  • sets up a cloudwatch alarm for high CPU on the ASG
  • sets up a lambda function that is triggered by the SNS topic
  • sets up a lambda health report function that reports on ASG and RDS metrics
  • sets up an eventbridge schedule to trigger the health report

The lambda function takes the incoming event and posts a request to the discord webhook, this sends an alert to the monitoring channel.

The discord webhook URL is kept in the parameter store which the lambda pulls from.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published