Skip to content

Commit caf5d12

Browse files
authored
Merge pull request #6 from pragmaticcoders/bugfix/cloudtrail-arn-wildcard
add wildcard to arn
2 parents fc03f8d + f1b83c8 commit caf5d12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security/cloudtrail/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ resource "aws_cloudtrail" "organization" {
5151
# sns_topic_name = "${data.terraform_remote_state.master.cloudtrail_events_sns_topic_arn}"
5252
enable_log_file_validation = true
5353
# kms_key_id = "${data.terraform_remote_state.master.kms_cloudtrail_arn["${var.account_name}"]}"
54-
cloud_watch_logs_group_arn = aws_cloudwatch_log_group.cloudtrail.arn
54+
cloud_watch_logs_group_arn = "${aws_cloudwatch_log_group.cloudtrail.arn}:*"
5555
cloud_watch_logs_role_arn = module.role.iam_role_arn
5656

5757
depends_on = [

0 commit comments

Comments
 (0)