Update agents.tf

Ensuring the right agent server type is attaching
This commit is contained in:
Tim Heckel 2022-02-21 20:00:06 -06:00 committed by GitHub
parent cb42c0bf77
commit 5e40bcb5f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ module "agents" {
location = var.location location = var.location
network_id = hcloud_network.k3s.id network_id = hcloud_network.k3s.id
ip = cidrhost(hcloud_network_subnet.k3s.ip_range, 513 + count.index) ip = cidrhost(hcloud_network_subnet.k3s.ip_range, 513 + count.index)
server_type = var.control_plane_server_type server_type = var.agent_server_type
labels = { labels = {
"provisioner" = "terraform", "provisioner" = "terraform",