# Monitoring module This module deploys the default cloudwatch metric monitoring ## Notes Terraform lifecycle ignores tags to speed up terraform subsequent update. Cloudwatch alarm tags cannot be read on aws console anyway. ## Example ```terraform module "asg" { source = "../../modules/util/resource-list" resource-type = "asg" } module "asg-monitoring" { cw-alarm-prefix = local.cw-alarm-prefix for_each = module.asg.result-set source = "../../modules/ManagementGovernance/Monitoring.ASG" default-tags = local.default-tags asg-name = each.value threshold-CPUUtilization = 90 actions-enabled = var.actions-enabled sns-targets = var.sns-targets } ```