Skip to content

Commit de9153e

Browse files
authored
Fix list() to tolist() for tf15
1 parent 11b9ad4 commit de9153e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ locals {
134134
balanced = var.container_port > 0
135135
load_balancer_container_name = coalesce(var.load_balancer_container_name, var.service_name)
136136

137-
target_group_names = coalescelist(distinct(compact(concat(var.target_group_names, list(var.target_group_name)))), list(var.cluster_name))
137+
target_group_names = coalescelist(distinct(compact(concat(var.target_group_names, tolist(var.target_group_name)))), tolist(var.cluster_name))
138138

139139
default_log_configuration = {
140140
"logDriver" = "awslogs"

0 commit comments

Comments
 (0)