Skip to content

Commit 4a6956f

Browse files
fix kms decrypt permission condition (#56)
1 parent 81717fa commit 4a6956f

File tree

1 file changed

+1
-1
lines changed
  • modules/integrations/cloud-logs

1 file changed

+1
-1
lines changed

modules/integrations/cloud-logs/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ data "aws_iam_policy_document" "cloudlogs_s3_access" {
139139
}
140140

141141
dynamic "statement" {
142-
for_each = var.kms_key_arn != null && !local.is_cross_account ? [1] : []
142+
for_each = var.kms_key_arn != null ? [1] : []
143143
content {
144144
sid = "CloudlogsKMSDecrypt"
145145

0 commit comments

Comments
 (0)