Agents IP should not depend on servers_num

This commit is contained in:
Marco Nenciarini
2022-02-09 13:03:31 +01:00
parent 43de74b887
commit 0b13f900e1
3 changed files with 8 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
locals {
first_control_plane_network_ip = cidrhost(hcloud_network.k3s.ip_range, 2)
first_control_plane_network_ip = cidrhost(hcloud_network_subnet.k3s.ip_range, 2)
hcloud_image_name = "ubuntu-20.04"
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.