Skip to content

Commit

Permalink
more specific eventbridge filter
Browse files Browse the repository at this point in the history
  • Loading branch information
richgreen-moj committed Sep 4, 2024
1 parent 040333a commit aaa4ff1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions terraform/environments/core-network-services/vpn.tf
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ resource "aws_cloudwatch_event_rule" "noms-vpn-event-rule" {
name = "noms-vpn-health-event-rule"
description = "Check for any NOMS VPN related health events"
event_pattern = jsonencode({
"source" : ["aws.health"],
"detail-type" : ["AWS Health Event"],
"resources" = [
aws_vpn_connection.this["NOMS-Transit-Live-VPN-VNG_1"].id,
aws_vpn_connection.this["NOMS-Transit-Live-VPN-VNG_2"].id
Expand Down

0 comments on commit aaa4ff1

Please sign in to comment.