From 5ac5c81ad16c142a52472b9fa9e68ea392346d6b Mon Sep 17 00:00:00 2001 From: Razvan Cosma <75040720+razvan-moj@users.noreply.github.com> Date: Mon, 13 Jun 2022 12:33:26 +0300 Subject: [PATCH] allow checking the bucket policy (#55) --- main.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/main.tf b/main.tf index b99d637..5ee4dc2 100644 --- a/main.tf +++ b/main.tf @@ -145,6 +145,7 @@ data "aws_iam_policy_document" "policy" { statement { actions = [ "s3:GetBucketLocation", + "s3:GetBucketPolicy", "s3:ListBucket", "s3:ListBucketMultipartUploads", "s3:ListBucketVersions",