1
0
Fork 0

explicit dependency

This commit is contained in:
chris 2022-05-25 13:37:13 +02:00
parent 232ec45aec
commit ea71b3bf56

View file

@ -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" {