Skip to content

wiley/terraform-aft-cloudwatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Generic Alarm Module

This module will setup all generic alarms including required components based on the parameter passed in alarm variable.

Input parameters:

1. alarm        = << available values are listed below >>
1. alarm_prefix = << value to be added in various component names - ex. prod/stage/dev/sdbx >>

NB: Max length of alarm prefix is 6 charrecters and should starts with alphabates

Available values for alarm parameter:

  1. "S3-ALARM"
  2. "SG-ALARM"
  3. "NACL-ALARM"
  4. "VPC-ALARM"
  5. "IAM-ALARM"
  6. "HEALTH-ALARM"
  7. "CLOUDTRAIL-ALARM"

Example:

module "Health" {
  source = "."
  alarm = "HEALTH-ALARM"
  alarm_prefix = "prod"
}
module "IAM-ALARM" {
  source = "."
  alarm = "IAM-ALARM"
  alarm_prefix = "prod"
}

If you want to directly run it from git.

module "Health" {
  source = "git::git@github.com:wiley/terraform-aft-cloudwatch?ref=v0.0.1"
  alarm = "HEALTH-ALARM"
  alarm_prefix = "${var.prefix}"
}

Output Variables

topic_arn
event_rule_name

About

Generic alarms for Cloudwatch health

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published