add dependency

main
Michael Wilson 3 years ago
parent c2f7048c23
commit a68fa6310f
  1. 3
      hcloud-k3s-cluster/main.tf

@ -62,6 +62,9 @@ resource "hcloud_server_network" "k3s-node-to-network-allocation" {
server_id = hcloud_server.k3s-node[count.index].id
subnet_id = hcloud_network_subnet.k3s-net.id
ip = "10.0.1.${count.index + 1}"
depends_on = [
hcloud_server.k3s-node
]
}

Loading…
Cancel
Save