fix: Add Active Directory site support to NetApp account module AD configuration#7032
Conversation
|
Important The "Needs: Triage 🔍" label must be removed once the triage process is complete! Tip For additional guidance on how to triage this issue/PR, see the BRM Issue Triage documentation. |
|
Important If this is a module-related PR, being submitted by the sole owner of the module, the AVM core team must review and approve it (as module owners can't approve their own PRs). To indicate this PR needs the core team''s attention, apply the "Needs: Core Team 🧞" label! The core team will only review and approve PRs that have this label applied! |
Agent-Logs-Url: https://github.com/Azure/bicep-registry-modules/sessions/dad8a9a7-c97e-4d31-915e-0a1b71b5862a Co-authored-by: fbinotto <17077662+fbinotto@users.noreply.github.com>
|
@copilot make the changes based on the plan. |
Agent-Logs-Url: https://github.com/Azure/bicep-registry-modules/sessions/dad8a9a7-c97e-4d31-915e-0a1b71b5862a Co-authored-by: fbinotto <17077662+fbinotto@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Azure/bicep-registry-modules/sessions/dad8a9a7-c97e-4d31-915e-0a1b71b5862a Co-authored-by: fbinotto <17077662+fbinotto@users.noreply.github.com>
…-safe mapping Agent-Logs-Url: https://github.com/Azure/bicep-registry-modules/sessions/dad8a9a7-c97e-4d31-915e-0a1b71b5862a Co-authored-by: fbinotto <17077662+fbinotto@users.noreply.github.com>
…ections Agent-Logs-Url: https://github.com/Azure/bicep-registry-modules/sessions/dad8a9a7-c97e-4d31-915e-0a1b71b5862a Co-authored-by: fbinotto <17077662+fbinotto@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Azure/bicep-registry-modules/sessions/dad8a9a7-c97e-4d31-915e-0a1b71b5862a Co-authored-by: fbinotto <17077662+fbinotto@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Azure/bicep-registry-modules/sessions/ded5d8b3-0a3d-40be-aa67-f3d1ec9cc39d Co-authored-by: fbinotto <17077662+fbinotto@users.noreply.github.com>
Implemented the follow-up changes from the plan, including the module CHANGELOG update for |
fbinotto
left a comment
There was a problem hiding this comment.
@copilot it failed validation. Fix it.
Error: No release type found in pull request title "Add Active Directory site support to NetApp account module AD configuration". Add a prefix to indicate what kind of release this pull request corresponds to. For reference, see https://www.conventionalcommits.org/
Available types:
- feat: A new feature
- fix: A bug fix
- docs: Documentation only changes
- style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
- refactor: A code change that neither fixes a bug nor adds a feature
- perf: A code change that improves performance
- test: Adding missing tests or correcting existing tests
- build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
- ci: Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
- chore: Other changes that don't modify src or test files
- revert: Reverts a previous commit
Updated the PR title to use a conventional-commit release type prefix ( |
| param serverRootCACertificate string = '' | ||
|
|
||
| @description('Optional. The Active Directory site (as configured in Active Directory Sites and Services) the service will limit Domain Controller discovery to.') | ||
| param activeDirectorySite string = '' |
There was a problem hiding this comment.
Would it make sense to make it nullable instead of adding an empty string default value?
Another comment would be that ideally, all paramrters should be validated via at least one e2e test. However I don't think it's applicable in this case
There was a problem hiding this comment.
Hey @fbinotto I see you raised this via copilot. Is this experimental or ready for review?
If ready, could you please add a pipeline badge proving the successful run in your fork?
If not ready, could you please set this as draft?
Description
The NetApp account module did not expose the Active Directory
sitefield, which blocked parity with existing portal-configured AD integrations during migration to Bicep. This change adds an explicit module input and maps it to the ARMactiveDirectories[].siteproperty.Module behavior
activeDirectorySite.activeDirectorySiteintoMicrosoft.NetApp/netAppAccounts.properties.activeDirectories[].site.siteonly when bothdomainNameandactiveDirectorySiteare non-empty (avoids sending empty string values).Generated artifacts
main.jsonto include the new parameter and compiled mapping.README.mdto documentactiveDirectorySite, keep parameter ordering consistent, and clarify the site description.CHANGELOG.mdwith a new entry (0.12.2) for this enhancement.Pipeline Reference
Type of Change
version.json:version.json.version.json.Checklist
Set-AVMModulelocally to generate the supporting module files.