Skip to content

Commit fab9e62

Browse files
committed
CCM-10246: test
1 parent fb36df3 commit fab9e62

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

infrastructure/modules/lambda/data_iam_policy_document_put_logs.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ data "aws_iam_policy_document" "put_logs" {
99
]
1010

1111
#trivy:ignore:aws-iam-no-policy-wildcards
12-
resources = flatten([
12+
resources = flatten([[
1313
"${aws_cloudwatch_log_group.main.arn}:*",
1414
], var.lambda_at_edge ? [
1515
"${aws_cloudwatch_log_group.main_us_east_1[0].arn}:*",
16-
] : [])
16+
] : []])
1717
}
1818

1919
dynamic "statement" {

0 commit comments

Comments
 (0)