Skip to content

Commit 1b9bc7d

Browse files
authored
Merge pull request #1077 from tschuering/fix-missing-dependency-for-1073
Fix missing dependencies for #1073
2 parents 14f7d47 + dd050f3 commit 1b9bc7d

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

control_planes.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,11 @@ resource "null_resource" "control_plane_config" {
142142
provisioner "remote-exec" {
143143
inline = [local.k3s_config_update_script]
144144
}
145+
146+
depends_on = [
147+
null_resource.first_control_plane,
148+
hcloud_network_subnet.control_plane
149+
]
145150
}
146151

147152
resource "null_resource" "control_planes" {

init.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ resource "null_resource" "kustomization" {
323323

324324
depends_on = [
325325
hcloud_load_balancer.cluster,
326-
null_resource.first_control_plane,
326+
null_resource.control_planes,
327327
random_password.rancher_bootstrap,
328328
hcloud_volume.longhorn_volume
329329
]

0 commit comments

Comments
 (0)