From ea71b3bf56b22d159bef1c7424a9d227f0684e64 Mon Sep 17 00:00:00 2001 From: chris Date: Wed, 25 May 2022 13:37:13 +0200 Subject: [PATCH] explicit dependency --- three-web-hosts/loadbalancer.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/three-web-hosts/loadbalancer.tf b/three-web-hosts/loadbalancer.tf index 3cfd4b2..f07554b 100644 --- a/three-web-hosts/loadbalancer.tf +++ b/three-web-hosts/loadbalancer.tf @@ -14,6 +14,7 @@ resource "hcloud_load_balancer_target" "three_web_load_balancer_target" { load_balancer_id = hcloud_load_balancer.three_web_load_balancer.id label_selector = "type=web" use_private_ip = true + depends_on = [hcloud_load_balancer_network.three_web_load_balancer_network] } resource "hcloud_load_balancer_service" "load_balancer_service" {