From 70aa3c62fbff6f1a5fe0ff7fd5dffef42bdb64fe Mon Sep 17 00:00:00 2001 From: ashle001 Date: Thu, 24 Sep 2020 09:32:42 -0400 Subject: [PATCH] add ssl enforcement policy2 --- main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.tf b/main.tf index 7ed8c87..161d7ce 100644 --- a/main.tf +++ b/main.tf @@ -100,8 +100,8 @@ data "aws_iam_policy_document" "this" { statement { sid = "enforceSSL" effe = "Deny" - principals = "*", - actions = "s3:*", + principals = "*" + actions = "s3:*" resources = [aws_s3_bucket.this.arn, "${aws_s3_bucket.this.arn}/*"] condition { test = "Bool"