From 41563fb938179abdf6e6f7ebdec8ba37fb3d7148 Mon Sep 17 00:00:00 2001 From: phaer Date: Mon, 14 Feb 2022 11:14:14 +0100 Subject: [PATCH] load balancer ip depends on deployed CCM... ...so a finished first control plane, more or less --- main.tf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.tf b/main.tf index 96378ab..bed5ed9 100644 --- a/main.tf +++ b/main.tf @@ -155,4 +155,6 @@ resource "hcloud_placement_group" "k3s" { data "hcloud_load_balancer" "traefik" { name = "traefik" + + depends_on = [ hcloud_server.first_control_plane ] }