diff --git a/control_planes.tf b/control_planes.tf index 08bb2158..280a940a 100644 --- a/control_planes.tf +++ b/control_planes.tf @@ -139,6 +139,11 @@ resource "null_resource" "control_plane_config" { provisioner "remote-exec" { inline = [local.k3s_config_update_script] } + + depends_on = [ + null_resource.first_control_plane, + hcloud_network_subnet.control_plane + ] } resource "null_resource" "control_planes" {