From ec88013616a049434aad08590bbf478f2e05c597 Mon Sep 17 00:00:00 2001 From: Mateusz Ziarko <44002313+m4t22@users.noreply.github.com> Date: Wed, 25 May 2022 18:00:25 +0200 Subject: [PATCH] fix: Revert change for grant in aws_s3_bucket_acl resource (#164) --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 463c84ea..cc76cea9 100644 --- a/main.tf +++ b/main.tf @@ -58,7 +58,7 @@ resource "aws_s3_bucket_acl" "this" { acl = var.acl == "null" ? null : var.acl dynamic "access_control_policy" { - for_each = length(local.grants) > 0 ? local.grants : [] + for_each = length(local.grants) > 0 ? [true] : [] content { dynamic "grant" {