From 8f0b7945c65d2dd374a1f33102e95f52d9f06224 Mon Sep 17 00:00:00 2001 From: Poornima Krishnasamy Date: Fri, 23 Feb 2024 09:49:41 +0000 Subject: [PATCH] Add permissions to access media files --- main.tf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.tf b/main.tf index b3c51cc..6b1ae01 100644 --- a/main.tf +++ b/main.tf @@ -163,6 +163,8 @@ data "aws_iam_policy_document" "irsa" { actions = [ "s3:GetBucketLocation", "s3:GetBucketPolicy", + "s3:GetBucketPublicAccessBlock", + "s3:GetBucketOwnershipControls", "s3:ListBucket", "s3:ListBucketMultipartUploads", "s3:ListBucketVersions",