Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Nov 23, 2021
1 parent f0d9f88 commit f6b7552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudtrail/cloudwatch.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ locals {
org_cloudwatch_suffix = format("o-%v_*", var.organization_id)
cloudwatch_resources = join(":", list(local.cloudwatch_prefix, "log-stream", local.cloudwatch_suffix))
org_cloudwatch_resources = var.enable_organization ? join(":", list(local.cloudwatch_prefix, "log-stream", local.org_cloudwatch_suffix)) : ""
resources = compact(concat(local.cloudwatch_resoures, local.org_cloudwatch_resources))
resources = compact(concat(local.cloudwatch_resources, local.org_cloudwatch_resources))
}

data "aws_iam_policy_document" "cloudwatch_policy" {
Expand Down

0 comments on commit f6b7552

Please sign in to comment.