Skip to content

Commit 863b2af

Browse files
authored
Update CloudWatch log group reference for workers
Fix #38
1 parent 49c2adb commit 863b2af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

workers.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ data "cloudinit_config" "workers" {
6262
region_name = data.aws_region.current.name
6363
instance_index = count.index
6464
vpc_name = local.dns_name
65-
cloudwatch_log_group = var.cloudwatch_logs ? (var.cloudwatch_single_log_group ? local.dns_name : aws_cloudwatch_log_group.managers[count.index].name) : ""
65+
cloudwatch_log_group = var.cloudwatch_logs ? (var.cloudwatch_single_log_group ? local.dns_name : aws_cloudwatch_log_group.workers[count.index].name) : ""
6666
group = "worker"
6767
ssh_authorization_method = var.ssh_authorization_method
6868
}

0 commit comments

Comments
 (0)