Skip to content

Commit

Permalink
Fix mistake in policy. Part2 (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
ramses999 authored Aug 1, 2023
1 parent cbe4873 commit f622326
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ data "aws_iam_policy_document" "log_agent" {
]

resources = [
join("", aws_cloudwatch_log_group.default.*.arn),
"${join("", aws_cloudwatch_log_group.default[*].arn)}:*",
]
}

statement {
actions = var.additional_permissions

resources = [
"${join("", aws_cloudwatch_log_group.default.*.arn)}:*",
"${join("", aws_cloudwatch_log_group.default[*].arn)}:*",
]
}
}

0 comments on commit f622326

Please sign in to comment.