Skip to content

Commit

Permalink
AV-1959: Use suffix check instead of regexp
Browse files Browse the repository at this point in the history
  • Loading branch information
bzar committed Sep 25, 2023
1 parent c5e8ee3 commit dde50df
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 dde50df

Please sign in to comment.