From 2ef838249519f1ad88797cfe7623fddfa90c4073 Mon Sep 17 00:00:00 2001 From: William Shelley Date: Tue, 15 Oct 2024 10:29:23 +0100 Subject: [PATCH] 5809 batch alarms publish permissions (#390) * fix: batch rule names * docs: update Terraform docs * fix: add name to targets * docs: update Terraform docs * fix: more event renaming * fix: used dlq module * fix: updated queue arn * docs: update Terraform docs * fix: sqs module version * fix: eventbridge permissions * docs: update Terraform docs --------- Co-authored-by: github-actions[bot] --- 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 = {