From 903d5a8e223b85ff1798411dc1d219bf84c6077d Mon Sep 17 00:00:00 2001 From: Buckingham Date: Wed, 11 Dec 2024 15:24:07 +0000 Subject: [PATCH] Update_111224_1 --- terraform/environments/ppud/iam.tf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/terraform/environments/ppud/iam.tf b/terraform/environments/ppud/iam.tf index 536db65e163..ee101f38995 100644 --- a/terraform/environments/ppud/iam.tf +++ b/terraform/environments/ppud/iam.tf @@ -1187,7 +1187,8 @@ resource "aws_iam_policy" "iam_policy_for_lambda_cloudwatch_get_metric_data_dev" "Action" : [ "s3:GetObject", "s3:PutObject", - "s3:DeleteObject" + "s3:DeleteObject", + "s3:ListBucket" ], "Resource" : [ "arn:aws:s3:::moj-lambda-layers-dev", @@ -1329,7 +1330,8 @@ resource "aws_iam_policy" "iam_policy_for_lambda_cloudwatch_get_metric_data_prod "Action" : [ "s3:GetObject", "s3:PutObject", - "s3:DeleteObject" + "s3:DeleteObject", + "s3:ListBucket" ], "Resource" : [ "arn:aws:s3:::moj-lambda-layers-prod",