Skip to content

Commit 2e45aff

Browse files
feat(ingress/fabric_legacy): expose legacy_resource_details from utility module (#548) (#549)
Re-export the underlying nginx_gateway_fabric module's legacy_resource_details so ingress values (basic auth password, base domain, per-rule domains) reach level2's concat in facets-iac and show up in the Facets UI. Without this passthrough, level2's lookup(local.module_<key>, "legacy_resource_details", []) falls back to [] and the UI's resource-values panel is empty. Applied to all three flavors (aws, azure, gcp) for parity. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 4379e03 commit 2e45aff

3 files changed

Lines changed: 12 additions & 0 deletions

File tree

  • modules/ingress

modules/ingress/nginx_gateway_fabric_legacy_aws/1.0/outputs.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,7 @@ output "cloud_provider" {
8888
value = module.nginx_gateway_fabric.cloud_provider
8989
description = "Detected cloud provider (AWS, GCP, AZURE)"
9090
}
91+
92+
output "legacy_resource_details" {
93+
value = module.nginx_gateway_fabric.legacy_resource_details
94+
}

modules/ingress/nginx_gateway_fabric_legacy_azure/1.0/outputs.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,7 @@ output "cloud_provider" {
8888
value = module.nginx_gateway_fabric.cloud_provider
8989
description = "Detected cloud provider (AWS, GCP, AZURE)"
9090
}
91+
92+
output "legacy_resource_details" {
93+
value = module.nginx_gateway_fabric.legacy_resource_details
94+
}

modules/ingress/nginx_gateway_fabric_legacy_gcp/1.0/outputs.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,7 @@ output "cloud_provider" {
8888
value = module.nginx_gateway_fabric.cloud_provider
8989
description = "Detected cloud provider (AWS, GCP, AZURE)"
9090
}
91+
92+
output "legacy_resource_details" {
93+
value = module.nginx_gateway_fabric.legacy_resource_details
94+
}

0 commit comments

Comments
 (0)