From e8e5d409f81ae1f654645f3dca8786d207fcbda7 Mon Sep 17 00:00:00 2001 From: jgrusewski Date: Fri, 27 Feb 2026 01:16:29 +0100 Subject: [PATCH] fix(infra): hardcode private_network_id for public-gateway bootstrap Kapsule output wasn't available yet during first gateway apply. Will switch to dependency.kapsule.outputs.private_network_id after kapsule re-apply exports it. Co-Authored-By: Claude Opus 4.6 --- infra/live/production/public-gateway/terragrunt.hcl | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/infra/live/production/public-gateway/terragrunt.hcl b/infra/live/production/public-gateway/terragrunt.hcl index 6aecfa3f8..b7ab214e0 100644 --- a/infra/live/production/public-gateway/terragrunt.hcl +++ b/infra/live/production/public-gateway/terragrunt.hcl @@ -8,9 +8,17 @@ terraform { dependency "kapsule" { config_path = "../kapsule" + + # private_network_id not yet exported from kapsule state + # Using mock until kapsule is re-applied with the new output + mock_outputs = { + private_network_id = "fr-par/4ac46c9e-e1f3-4473-94eb-a9959ed9f010" + } + mock_outputs_merge_strategy_with_state = "shallow" } inputs = { - private_network_id = dependency.kapsule.outputs.private_network_id + # Hardcoded until kapsule output is available + private_network_id = "fr-par/4ac46c9e-e1f3-4473-94eb-a9959ed9f010" gateway_type = "VPC-GW-S" }