Skip to content

Conversation

@jtracey93
Copy link
Collaborator

@jtracey93 jtracey93 commented Dec 6, 2025

Description

Pipeline Reference

Pipeline
avm.ptn.authorization.role-assignment
avm.ptn.authorization.policy-assignment

Type of Change

  • Azure Verified Module updates:
    • Bugfix containing backwards-compatible bug fixes, and I have NOT bumped the MAJOR or MINOR version in version.json:
    • Feature update backwards compatible feature updates, and I have bumped the MINOR version in version.json.
    • Breaking changes and I have bumped the MAJOR version in version.json.
    • Update to documentation
  • Update to CI Environment or utilities (Non-module affecting changes)

Checklist

  • I'm sure there are no other open Pull Requests for the same update/change
  • I have run Set-AVMModule locally to generate the supporting module files.
  • My corresponding pipelines / checks run clean and green without any errors or warnings
  • I have updated the module's CHANGELOG.md file with an entry for the next version

- Removed usage of `deployment().name` in module names to enhance performance during redeploys and when used in deployment stacks.
- Updated module names to use `managementGroup().name` and other parameters for uniqueness.
- No functional changes to the module.
@jtracey93 jtracey93 requested review from a team as code owners December 6, 2025 05:58
@avm-organizer avm-organizer bot added the Needs: Core Team 🧞 This item needs the AVM Core Team to review it label Dec 6, 2025
@microsoft-github-policy-service microsoft-github-policy-service bot added Needs: Triage 🔍 Maintainers need to triage still Type: AVM 🅰️ ✌️ Ⓜ️ This is an AVM related issue labels Dec 6, 2025
- Refactor deployment names for subscription and resource group policy assignments to include management group name for uniqueness.
- Ensure compliance with naming conventions and improve clarity in deployment identifiers.
- Module path: avm/ptn/authorization/policy-assignment
- Refactored deployment name generation to eliminate usage of `deployment().name` for improved performance and reduced deployment count.
- Updated module names in main.bicep and main.json for management group, subscription, and resource group role assignments.
- No functional changes to the module.
@jtracey93 jtracey93 requested a review from a team as a code owner December 6, 2025 07:55
- Updated serviceShort parameter values in multiple test files to ensure uniqueness and avoid conflicts.
- Affected files include role assignments for management group, resource group, and subscription scopes.
- Corrected serviceShort parameter values in multiple test files for role assignment.
- Ensured consistency in naming conventions across management group, resource group, and subscription scopes.
- Updated files: mg.defaults, mg.max, rg.default, rg.max, sub.default, sub.max.
@jtracey93 jtracey93 merged commit f8d4f63 into main Dec 6, 2025
25 checks passed
@jtracey93 jtracey93 deleted the users/jtracey93/fix/deployment-name-usage-for-alz branch December 6, 2025 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs: Core Team 🧞 This item needs the AVM Core Team to review it Needs: Triage 🔍 Maintainers need to triage still Type: AVM 🅰️ ✌️ Ⓜ️ This is an AVM related issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants