Skip to content

Commit

Permalink
fix: batch failures log group policy (#641)
Browse files Browse the repository at this point in the history
* fix: batch failures log group policy

* fix: using module cloudwatch policy
  • Loading branch information
Wi11Shell authored Feb 13, 2025
1 parent c31e302 commit a59da34
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions infra/terraform/modules/service/batch-monitoring.tf
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ module "eventbridge_sns" {
}
}

attach_cloudwatch_policy = true
cloudwatch_target_arns = [aws_cloudwatch_log_group.failures.arn]

targets = {
"vol-app-${var.environment}-batch-failure-event" = [
{
Expand Down

0 comments on commit a59da34

Please sign in to comment.