Skip to content

Commit

Permalink
Merge pull request #2057 from vrk-kpa/AV-1959_healthcheck-fail-notify…
Browse files Browse the repository at this point in the history
…-fix

AV-1959: Use suffix check instead of regexp
  • Loading branch information
bzar authored Sep 25, 2023
2 parents 226a87d + dde50df commit 7580265
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cdk/lib/monitoring-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class MonitoringStack extends Stack {
eventPattern: {
source: ['aws.ecs'],
detail: {
message: assertions.Match.stringLikeRegexp('service [^ ]+ task [0-9a-f]+ failed container health checks.')
message: [{suffix: 'failed container health checks.'}]
}
},
targets: [sendToDeveloperZulipTarget, taskHealthCheckFailLogGroupTarget],
Expand Down

0 comments on commit 7580265

Please sign in to comment.