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 <noreply@anthropic.com>
This commit is contained in:
jgrusewski
2026-02-27 01:16:29 +01:00
parent 8fa7eb4bcf
commit e8e5d409f8

View File

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