Skip to content

Commit 9ed6eaa

Browse files
authored
fix: Fixed issue with multiple grants in aws_s3_bucket_acl (#163)
1 parent ae94131 commit 9ed6eaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ resource "aws_s3_bucket_acl" "this" {
5858
acl = var.acl == "null" ? null : var.acl
5959

6060
dynamic "access_control_policy" {
61-
for_each = length(local.grants) > 0 ? [true] : []
61+
for_each = length(local.grants) > 0 ? local.grants : []
6262

6363
content {
6464
dynamic "grant" {

0 commit comments

Comments
 (0)