Skip to content

Commit

Permalink
fixed missed variable
Browse files Browse the repository at this point in the history
  • Loading branch information
skyfox675 committed Oct 27, 2021
1 parent fa82748 commit d9d195c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ data "aws_iam_policy_document" "this_cloudwatch" {
statement {
effect = "Allow"
resources = [
"arn:aws:logs:${data.aws_region.current.name}:${data.aws_caller_identity.current.account_id}:log-group:${var.log_group_name}",
"arn:aws:logs:${data.aws_region.current.name}:${data.aws_caller_identity.current.account_id}:log-group:${var.log_group_name}:*",
"arn:aws:logs:${data.aws_region.current.name}:${data.aws_caller_identity.current.account_id}:log-group:/aws/codebuild/${var.name}",
"arn:aws:logs:${data.aws_region.current.name}:${data.aws_caller_identity.current.account_id}:log-group:/aws/codebuild/${var.name}:*",
]
actions = [
"logs:CreateLogGroup",
Expand Down

0 comments on commit d9d195c

Please sign in to comment.