All Modules
AWSMonitoring

CloudWatch

Log groups, metric alarms, and SNS notification topics with KMS encryption

Usage

module "cloudwatch" {
  source = "github.com/fencepencil/fencepencil-aws-modules//cloudwatch"

  name = "<name>"

  tags = var.tags
}

Inputs (6)

NameTypeDescriptionDefaultRequired
namestringName prefix for all resourcesyes
create_sns_topicboolCreate SNS topic for alarm notificationstrueno
alert_emailslist(string)Email addresses for alarm notifications[]no
kms_key_arnstringKMS key ARN for log encryptionnullno
log_groupsmap(object)Log groups to create{}no
tagsmap(string)Tags to apply to all resources{}no

Outputs (3)

NameDescription
sns_topic_arnARN of the SNS topic
log_group_arnsMap of log group ARNs
log_group_namesMap of log group names

More AWS Modules

Browse our full library of AWS infrastructure modules.

View all AWS modules