feat(ingress/fabric_legacy): expose legacy_resource_details from utility module#548
Merged
Merged
Conversation
…ity module 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>
Contributor
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review (1)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Contributor
Author
|
LGTM |
unni-facets
pushed a commit
that referenced
this pull request
May 7, 2026
…ity 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
module.nginx_gateway_fabric.legacy_resource_detailsfrom the three legacy fabric wrapper flavors (aws,azure,gcp).legacy_resource_details(added in facets-utility-modules#35) is invisible to consumers.level2/legacy.tfinfacets-iacdoeslookup(local.module_<key>, "legacy_resource_details", [])— until this output exists on the wrapper it falls back to[]and the Facets UI shows nothing for ingress resource values (basic auth password, base domain, per-rule domains).Files
modules/ingress/nginx_gateway_fabric_legacy_aws/1.0/outputs.tfmodules/ingress/nginx_gateway_fabric_legacy_azure/1.0/outputs.tfmodules/ingress/nginx_gateway_fabric_legacy_gcp/1.0/outputs.tfEach gets a 4-line addition:
Test plan
nginx_gateway_fabric_legacy_awsand confirm the Facets UI ingress resource-values panel now shows: Basic Authentication Password (whenbasic_auth: true), Base Domain, and one row per rule.terraform output -json | jq '.legacy_resource_details.value'after apply contains entries withresource_type = "ingress"/resource_type = "ingress_rules_infra".Dependency
Depends on facets-utility-modules#35 which adds
legacy_resource_detailsto the underlying utility module. That PR is merged.🤖 Generated with Claude Code