initial commit
This commit is contained in:
8
k3s.tf
Normal file
8
k3s.tf
Normal 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)
|
||||
}
|
Reference in New Issue
Block a user