Skip to content

Commit

Permalink
add org trail variable
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Nov 23, 2021
1 parent 3ba5188 commit ecd3251
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cloudtrail/cloudtrail.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ resource "aws_cloudtrail" "this" {
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_role_arn = aws_iam_role.cloudtrail.arn
is_organization_trail = var.enable_organization

tags = merge(
local.base_tags,
Expand Down

0 comments on commit ecd3251

Please sign in to comment.