From 4223aaa7c829e890bcd91d99151273487d97413d Mon Sep 17 00:00:00 2001 From: Dominic Robinson <65237317+drobinson-moj@users.noreply.github.com> Date: Wed, 4 Oct 2023 17:08:22 +0100 Subject: [PATCH] DSOS-2198: nomis: fix s3 permission so aws s3 sync works (#3561) --- terraform/environments/nomis/locals_preproduction.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/environments/nomis/locals_preproduction.tf b/terraform/environments/nomis/locals_preproduction.tf index 88eceb44f48..ac78e5e30f5 100644 --- a/terraform/environments/nomis/locals_preproduction.tf +++ b/terraform/environments/nomis/locals_preproduction.tf @@ -49,7 +49,7 @@ locals { "s3:ListBucket", ] resources = [ - "arn:aws:s3:::nomis-db-backup-bucket*/*", + "arn:aws:s3:::nomis-db-backup-bucket*", ] }, {