diff --git a/infra/terraform/modules/service/batch.tf b/infra/terraform/modules/service/batch.tf index 00ae6be8df..fe4579b50f 100644 --- a/infra/terraform/modules/service/batch.tf +++ b/infra/terraform/modules/service/batch.tf @@ -135,13 +135,13 @@ module "eventbridge" { create_role = true role_name = "vol-app-${var.environment}-batch-scheduler" attach_policy_statements = true - policy_statements = { + policy_statements = { batch = { effect = "Allow" actions = [ "batch:SubmitJob" ] - resources = [ for job in module.batch.job_definitions : job.arn ] + resources = [for job in module.batch.job_definitions : job.arn] } }