From 7d714514bc9d50e7502ead5fe69152dcd842d769 Mon Sep 17 00:00:00 2001 From: William Shelley Date: Tue, 15 Oct 2024 10:24:13 +0100 Subject: [PATCH] fix: eventbridge permissions --- infra/terraform/modules/service/batch.tf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/infra/terraform/modules/service/batch.tf b/infra/terraform/modules/service/batch.tf index 05e19eba35..7452060604 100644 --- a/infra/terraform/modules/service/batch.tf +++ b/infra/terraform/modules/service/batch.tf @@ -222,6 +222,7 @@ module "sns_batch_failure" { sub = { actions = [ + "sns:Publish", "sns:Subscribe", "sns:Receive", ] @@ -257,7 +258,7 @@ module "sqs_deadletter" { version = "~> 4.2.1" source = "terraform-aws-modules/sqs/aws" - name = "vol-app-${var.environment}-batch-failure-dlq" + name = "vol-app-${var.environment}-batch-failure-queue" create_dlq = true redrive_policy = {