Skip to content

Commit f622326

Browse files
authored
Fix mistake in policy. Part2 (#39)
1 parent cbe4873 commit f622326

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

iam.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@ data "aws_iam_policy_document" "log_agent" {
4444
]
4545

4646
resources = [
47-
join("", aws_cloudwatch_log_group.default.*.arn),
47+
"${join("", aws_cloudwatch_log_group.default[*].arn)}:*",
4848
]
4949
}
5050

5151
statement {
5252
actions = var.additional_permissions
5353

5454
resources = [
55-
"${join("", aws_cloudwatch_log_group.default.*.arn)}:*",
55+
"${join("", aws_cloudwatch_log_group.default[*].arn)}:*",
5656
]
5757
}
5858
}

0 commit comments

Comments
 (0)