From a37fcc8963ec1fd82b74fdd1a8530c161384f8be Mon Sep 17 00:00:00 2001 From: ashle001 Date: Wed, 21 Oct 2020 15:12:31 -0400 Subject: [PATCH] add statement attributes --- main.tf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/main.tf b/main.tf index afc3262..ef28fe9 100644 --- a/main.tf +++ b/main.tf @@ -130,6 +130,13 @@ data "aws_iam_policy_document" "this" { } } statement { + sid = "IPAddressRestriction" + effect = "Deny" + actions = ["s3:*"] + principals { + type = "AWS" + identifiers = ["*"] + } dynamic "condition" { for_each = local.s3_bucket_conditions iterator = c