initial commit

This commit is contained in:
Karim Naufal
2021-07-30 10:12:37 +02:00
commit f615c994af
19 changed files with 864 additions and 0 deletions

8
k3s.tf Normal file
View File

@@ -0,0 +1,8 @@
locals {
control_plane_server_type = "cx11"
agent_server_type = "cx21"
first_control_plane_ip = cidrhost(hcloud_network.k3s.ip_range, 2)
locations = [var.server_location, "fsn1", "fsn1"]
agent_locations = setproduct(range(var.agents_num), local.locations)
server_locations = setproduct(range(var.servers_num), local.locations)
}