From 5ab18c20364e22260a5ec8c68970b61cdd1e3e78 Mon Sep 17 00:00:00 2001 From: ashle001 Date: Thu, 24 Sep 2020 11:31:53 -0400 Subject: [PATCH] fix statement --- main.tf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.tf b/main.tf index bca66e1..4381c3d 100644 --- a/main.tf +++ b/main.tf @@ -105,6 +105,7 @@ data "aws_iam_policy_document" "this" { principals { type = "AWS" identifiers = ["*"] + } resources = [aws_s3_bucket.this.arn, "${aws_s3_bucket.this.arn}/*"] condition { test = "Bool" @@ -112,7 +113,7 @@ data "aws_iam_policy_document" "this" { values = ["false"] } } -} + #--- # apply policy to bucket and public access block policy to bucket