Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Commit

Permalink
fix: dispatch only queued events to runners (#4257)
Browse files Browse the repository at this point in the history
## Description

Update dispatch to only subscribe for queued events instead for all
events.
  • Loading branch information
npalm authored Nov 12, 2024
1 parent 37bb07f commit a0a8322
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions modules/webhook/eventbridge/dispatcher.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ resource "aws_cloudwatch_event_rule" "workflow_job" {

event_pattern = <<EOF
{
"detail-type": [
"workflow_job"
]
"detail-type": ["workflow_job"],
"detail": {
"action": ["queued"]
}
}
EOF
}
Expand Down

0 comments on commit a0a8322

Please sign in to comment.