Skip to content

AcroMedia/terraform-module-cloudwatch-ses-alarms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-module-cloudwatch-ses-alarms

Sets alarms on warning and critical complaint & bounce rates in AWS SES, and sends them to the SNS topic(s) that you've defined.

Example implementation:

resource "aws_sns_topic" "email" {
  provider = aws
  name = "email"
}

resource "aws_sns_topic_subscription" "subscriber" {
  provider  = aws
  topic_arn = aws_sns_topic.email.arn
  protocol  = "email"
  endpoint  = "[email protected]"
}

module "cloudwatch_ses_alarms" {
  source = "[email protected]:AcroMedia/terraform-module-cloudwatch-ses-alarms.git?ref=main"  # ?ref= can also point at a version tag.
  providers = {
    aws.src = aws  # or your aliased aws provider
  }
  critical_sns_arn = aws_sns_topic.email.arn
  warning_sns_arn = aws_sns_topic.email.arn
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages