Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Commit

Permalink
Merge pull request #20 from TechNative-B-V/feature/ignore_scaling_alarm
Browse files Browse the repository at this point in the history
added anything but statement in eventbridge rule
  • Loading branch information
Jerpen80 authored Feb 14, 2024
2 parents d996360 + bc403cb commit 46fef38
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ locals {
"state" : "ENABLED",
"event_pattern" : jsonencode({
"source" : ["aws.cloudwatch"],
"detail-type" : ["CloudWatch Alarm State Change"]
"detail-type" : ["CloudWatch Alarm State Change"],
"detail": {
"configuration": {
"description": [ { "anything-but": "Autoscaling_alarm" } ]
}
}
})
},
"aws-healthdashboard-notification-rule" : {
Expand Down

0 comments on commit 46fef38

Please sign in to comment.