Skip to content

Commit

Permalink
Fix list() to tolist() for tf15
Browse files Browse the repository at this point in the history
  • Loading branch information
b-jam authored May 11, 2021
1 parent 11b9ad4 commit de9153e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ locals {
balanced = var.container_port > 0
load_balancer_container_name = coalesce(var.load_balancer_container_name, var.service_name)

target_group_names = coalescelist(distinct(compact(concat(var.target_group_names, list(var.target_group_name)))), list(var.cluster_name))
target_group_names = coalescelist(distinct(compact(concat(var.target_group_names, tolist(var.target_group_name)))), tolist(var.cluster_name))

default_log_configuration = {
"logDriver" = "awslogs"
Expand Down

0 comments on commit de9153e

Please sign in to comment.