Skip to content

Commit

Permalink
fix(terraform): vol5223 fix format of eventbridge iam policy
Browse files Browse the repository at this point in the history
  • Loading branch information
matbeales committed Aug 7, 2024
1 parent 8a0ee65 commit accbcc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions infra/terraform/modules/service/batch.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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]
}
}

Expand Down

0 comments on commit accbcc3

Please sign in to comment.