From fe075db08e8819ebffb363391d45b4cba2c3f72c Mon Sep 17 00:00:00 2001 From: "juvenal.diaz" Date: Mon, 2 Nov 2026 20:47:57 -0600 Subject: [PATCH] Configure MetalLB pool before waiting for Traefik --- bootstrap/platform/main.tf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bootstrap/platform/main.tf b/bootstrap/platform/main.tf index 20b3d31..47b162d 100644 --- a/bootstrap/platform/main.tf +++ b/bootstrap/platform/main.tf @@ -968,7 +968,9 @@ resource "helm_release" "traefik" { create_namespace = true timeout = 600 wait = true - depends_on = [null_resource.calico_ready] + # Helm waits for the LoadBalancer IP; the allocator and its pool must + # exist first, especially when OpenTofu parallelism is one. + depends_on = [null_resource.calico_ready, null_resource.metallb_l2_config] values = [ yamlencode({