From 94c027a592208de803795dd22efa4fb4c27f914e Mon Sep 17 00:00:00 2001 From: Derek A Dombek <50093944+derekadombek@users.noreply.github.com> Date: Wed, 4 Dec 2024 10:03:35 -0700 Subject: [PATCH] fix (#452) Co-authored-by: Administrator --- ops/terraform/main.tf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ops/terraform/main.tf b/ops/terraform/main.tf index f2689048..2008a9f0 100644 --- a/ops/terraform/main.tf +++ b/ops/terraform/main.tf @@ -72,6 +72,7 @@ module "middleware_api" { vnet = module.networking.network_name sku_name = var.sku_name https_only = true + depends_on = [module.networking.middlewaresubnet_id, module.networking.lbsubnet_id] } module "ocr_api" { @@ -86,6 +87,7 @@ module "ocr_api" { vnet = module.networking.network_name sku_name = var.sku_name https_only = true + depends_on = [module.networking.ocrsubnet_id, module.networking.middlewaresubnet_id] } module "ocr_autoscale" {