Skip to content

Commit

Permalink
Merge pull request #1077 from tschuering/fix-missing-dependency-for-1073
Browse files Browse the repository at this point in the history
Fix missing dependencies for #1073
  • Loading branch information
mysticaltech authored Nov 6, 2023
2 parents 14f7d47 + dd050f3 commit 1b9bc7d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions control_planes.tf
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,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" {
Expand Down
2 changes: 1 addition & 1 deletion init.tf
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ resource "null_resource" "kustomization" {

depends_on = [
hcloud_load_balancer.cluster,
null_resource.first_control_plane,
null_resource.control_planes,
random_password.rancher_bootstrap,
hcloud_volume.longhorn_volume
]
Expand Down

0 comments on commit 1b9bc7d

Please sign in to comment.