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)
| Name | Type | Description | Default | Required |
|---|---|---|---|---|
name | string | Name prefix for all resources | — | yes |
create_sns_topic | bool | Create SNS topic for alarm notifications | true | no |
alert_emails | list(string) | Email addresses for alarm notifications | [] | no |
kms_key_arn | string | KMS key ARN for log encryption | null | no |
log_groups | map(object) | Log groups to create | {} | no |
tags | map(string) | Tags to apply to all resources | {} | no |
Outputs (3)
| Name | Description |
|---|---|
sns_topic_arn | ARN of the SNS topic |
log_group_arns | Map of log group ARNs |
log_group_names | Map of log group names |