Skip to content

Commit a0a8322

Browse files
authored
fix: dispatch only queued events to runners (#4257)
## Description Update dispatch to only subscribe for queued events instead for all events.
1 parent 37bb07f commit a0a8322

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

modules/webhook/eventbridge/dispatcher.tf

+4-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ resource "aws_cloudwatch_event_rule" "workflow_job" {
55

66
event_pattern = <<EOF
77
{
8-
"detail-type": [
9-
"workflow_job"
10-
]
8+
"detail-type": ["workflow_job"],
9+
"detail": {
10+
"action": ["queued"]
11+
}
1112
}
1213
EOF
1314
}

0 commit comments

Comments
 (0)