Skip to content

Commit

Permalink
fix cw arn
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Nov 23, 2021
1 parent b71aa2f commit 3d13ad7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudtrail/cloudtrail.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ resource "aws_cloudtrail" "this" {
enable_logging = true
kms_key_id = var.kms_key_arn
sns_topic_name = var.enable_sns ? aws_sns_topic.cloudtrail[0].arn : null
cloud_watch_logs_group_arn = aws_cloudwatch_log_group.cloudtrail.arn
cloud_watch_logs_group_arn = format("%v:*", aws_cloudwatch_log_group.cloudtrail.arn)
cloud_watch_logs_role_arn = aws_iam_role.cloudtrail.arn
is_organization_trail = var.enable_organization

Expand Down

0 comments on commit 3d13ad7

Please sign in to comment.