Skip to content

Commit bc972bf

Browse files
author
Michael Chmielewski
committed
Fix reference to non-existent resource
1 parent 7471b79 commit bc972bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws_cloudtrail.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ resource "aws_cloudtrail" "ct" {
4646
enable_log_file_validation = var.aws_flags.enable_log_file_validation
4747
include_global_service_events = var.aws_flags.include_global_service_events
4848
is_multi_region_trail = var.aws_flags.is_multi_region_trail
49-
cloud_watch_logs_group_arn = "${replace(aws_cloudwatch_log_group.example.arn, "/:\\*$/", "")}:*"
49+
cloud_watch_logs_group_arn = "${replace(aws_cloudwatch_log_group.ct.arn, "/:\\*$/", "")}:*"
5050
cloud_watch_logs_role_arn = aws_iam_role.ct.arn
5151
sns_topic_name = aws_sns_topic.sns.arn
5252
depends_on = [aws_s3_bucket_policy.bucket]

0 commit comments

Comments
 (0)