minor tweaks

This commit is contained in:
Karim Naufal 2022-03-04 11:06:03 +01:00
parent 651791d643
commit d035dd9cf1

View File

@ -1,5 +1,5 @@
locals { 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 is_single_node_cluster = var.control_plane_count + length(keys(var.agent_nodepools)) == 1
ssh_public_key = trimspace(file(var.public_key)) 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. # ssh_private_key is either the contents of var.private_key or null to use a ssh agent.