resource "aws_cloudwatch_event_rule" "EventRule" { name = "${var.cw-alarm-prefix}-health-events" description = "A CloudWatch Event Rule that triggers on changes in the status of AWS Personal Health Dashboard (AWS Health) and forwards the events to an SNS topic." state = var.actions-enabled event_pattern = < on AWS account ." "Resources: " "Start time: " "End time: " "Detail: " EOF } }