Skip to content

Commit

Permalink
[WIP] REmove compact (#358)
Browse files Browse the repository at this point in the history
  • Loading branch information
samkahchiin authored Jul 4, 2024
1 parent 4039cc6 commit eaf1bb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aws/s3-private/replication.tf
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ locals {
]
},
]
encrypt-policy = compact([
encrypt-policy = [
for replica in var.s3_replicas : {
"Effect" : "Allow",
"Action" : [
Expand All @@ -87,7 +87,7 @@ locals {
},
"Resource" : [replica.kms_arn]
} if replica.kms_arn != null
])
]
}

resource "aws_iam_policy" "replication" {
Expand Down

0 comments on commit eaf1bb9

Please sign in to comment.