From 6698433b23f47727221f90433bb55cd6ff72c769 Mon Sep 17 00:00:00 2001 From: JoshuaLicense Date: Mon, 5 Aug 2024 10:40:59 +0100 Subject: [PATCH] feat(terraform): allow `dev` environment to push to `devapp-olcs-pri-olcs-autotest-s3` bucket (#208) --- infra/terraform/environments/dev/main.tf | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/infra/terraform/environments/dev/main.tf b/infra/terraform/environments/dev/main.tf index b577a8abd6..4dbd3ae3ff 100644 --- a/infra/terraform/environments/dev/main.tf +++ b/infra/terraform/environments/dev/main.tf @@ -65,7 +65,16 @@ locals { "arn:aws:sqs:eu-west-1:054614622558:DEVAPPDEV-OLCS-PRI-CHGET-DLQ", "arn:aws:sqs:eu-west-1:054614622558:DEVAPPDEV-OLCS-PRI-CHGET" ] - } + }, + { + effect = "Allow" + actions = [ + "s3:PutObject", + ] + resources = [ + "arn:aws:s3:::devapp-olcs-pri-olcs-autotest-s3/*", + ] + }, ] }