From d035dd9cf1b28e93d9c3e559097476d8555d96a5 Mon Sep 17 00:00:00 2001 From: Karim Naufal Date: Fri, 4 Mar 2022 11:06:03 +0100 Subject: [PATCH] minor tweaks --- locals.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locals.tf b/locals.tf index 4530a94..595cf45 100644 --- a/locals.tf +++ b/locals.tf @@ -1,5 +1,5 @@ locals { - # if we are in a single cluster config, we use the default klipper lb instead of traefik + # if we are in a single cluster config, we use the default klipper lb instead of Hetzner LB is_single_node_cluster = var.control_plane_count + length(keys(var.agent_nodepools)) == 1 ssh_public_key = trimspace(file(var.public_key)) # ssh_private_key is either the contents of var.private_key or null to use a ssh agent.