feat(networksecurity): add org-level support to google_network_security_address_groups datasource#17170
Conversation
…ty_address_groups datasource
Add optional 'parent' field to the google_network_security_address_groups
data source, enabling listing of address groups at the organization level
(e.g. parent = "organizations/123456789") in addition to the existing
project-level support.
- Add 'parent' field (Optional) with ConflictsWith 'project'
- Add ConflictsWith 'parent' to existing 'project' field
- When 'parent' is set, URL uses the parent path directly, supporting
both 'organizations/{id}' and 'projects/{id}' prefixes
- When 'parent' is absent, falls through to the unchanged project-level
code path for full backward compatibility
- Add acceptance test for organization-level listing
- Update documentation with org-level example and field descriptions
|
Googlers: For automatic test runs see go/terraform-auto-test-runs. @malhotrasagar2212, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look. You can help make sure that review is quick by doing a self-review and by running impacted tests locally. |
|
(I did not find an open issue for this feature) |
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
|
Tests analyticsTotal tests: 82 Click here to see the affected service packages
Action takenFound 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
Add optional 'parent' field to the google_network_security_address_groups data source, enabling listing of address groups at the organization level (e.g. parent = "organizations/123456789") in addition to the existing project-level support.
parentfield (Optional) which is mutually exclusive withprojectparenttakes precedence, falling through to project-level path for backward compatibility