Skip to content

Conversation

johnlokerse
Copy link
Contributor

Description

Ran into some DNS issues when bringing your own DNS setup and when using DINE policies. This pull request removes privateDnsZoneGroupName and privateDnsZoneResourceIds in module acr. These properties were not used. Updated them to the correct properties as defined in the UDT. Additionally, added the parameter dnsIsDeployedByPolicy to be able to skip the configuration of privateDnsZoneGroups.

Updated modules to the latest version.

Pipeline Reference

Do you have an environment set up @sebassem so this change can be tested?

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

- Added optional parameter 'dnsIsDeployedByPolicy' to control DNS deployment by policy.
- Updated private DNS zone group logic to utilize the new parameter.
- Introduced a new parameter `dnsIsDeployedByPolicy` to indicate if the DNS configuration is deployed by policy.
- Updated README.md to document the new parameter.
- Modified main.json to include the new parameter in the parameters section.
- Updated API version for private DNS zone and container registry modules.
- Adjusted references to outputs for new version compatibility.
- Updated managed environment and job module versions for consistency.
@johnlokerse johnlokerse requested review from a team as code owners September 8, 2025 13:01
@avm-team-linter avm-team-linter bot added the Needs: Module Owner 📣 This module needs an owner to develop or maintain it label Sep 8, 2025
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs: Triage 🔍 Maintainers need to triage still label Sep 8, 2025

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.

@microsoft-github-policy-service microsoft-github-policy-service bot added the Type: AVM 🅰️ ✌️ Ⓜ️ This is an AVM related issue label Sep 8, 2025

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!

@avm-team-linter avm-team-linter bot requested a review from sebassem September 8, 2025 13:02
@johnlokerse johnlokerse changed the title Johnlokerse/update cicd agent ptn Fix: CI/CD agents DNS properties were not used Sep 8, 2025
@johnlokerse johnlokerse changed the title Fix: CI/CD agents DNS properties were not used Fix: DevOps CI/CD agents pattern module DNS properties were not used and added dnsIsDeployedByPolicy property Sep 8, 2025
Copy link
Contributor

@sebassem sebassem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@johnlokerse johnlokerse changed the title Fix: DevOps CI/CD agents pattern module DNS properties were not used and added dnsIsDeployedByPolicy property fix: DevOps CI/CD agents pattern module DNS properties were not used and added dnsIsDeployedByPolicy property Sep 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs: Module Owner 📣 This module needs an owner to develop or maintain 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.

2 participants