Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: site dns configuration #4373

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

JWHolding
Copy link

@JWHolding JWHolding commented Feb 4, 2025

Description

Closes #4252

Pipeline Reference

Pipeline

Type of Change

  • Update to CI Environment or utilities (Non-module affecting changes)
  • Azure Verified Module updates:
    • Bugfix containing backwards-compatible bug fixes, and I have NOT bumped the MAJOR or MINOR version in version.json:
      • Someone has opened a bug report issue, and I have included "Closes #{bug_report_issue_number}" in the PR description.
      • The bug was found by the module author, and no one has opened an issue to report it yet.
    • 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

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

@JWHolding JWHolding requested review from a team as code owners February 4, 2025 08:33
@avm-team-linter avm-team-linter bot added the Needs: Module Owner 📣 This module needs an owner to develop or maintain it label Feb 4, 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 Feb 4, 2025
@JWHolding JWHolding changed the title Users/jwholding/site dns configuration feat: site dns configuration Feb 4, 2025
@JWHolding
Copy link
Author

@microsoft-github-policy-service agree

Copy link
Contributor

@AlexanderSehr AlexanderSehr left a comment

Choose a reason for hiding this comment

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

Hey @JWHolding,
overall a straight forward, great implementation. Thank you 💪

A few notes on my side

  • I added to suggestions which can be committed directly via the UI
  • Next, I'd like to ask you if it would be possible to add a usage example of (a subset of) the properties to e.g. the webApp.max test
  • Each change will require an update of the JSON & markdown files which is why I'd ask you to please re-run the Set-AVMModule script after the changes are in
  • Finally, it would be great if you could attach a pipeline badge or any other sort of 'proof' that the changes work (especially with a modified test file). This is important both for the deployment & static tests. For context: If we would've merged the changes in as is, the static validation would've failed in main due to one of the code-suggestions I made. While not breaking anything, this means that the module would not be published with the new feature until the issue is fixed, yadi yada.

Hence, the more 'sure' we can be that the changes work before merging a PR, the better.

@@ -294,6 +297,7 @@ resource app 'Microsoft.Web/sites@2024-04-01' = {
vnetContentShareEnabled: vnetContentShareEnabled
vnetImagePullEnabled: vnetImagePullEnabled
vnetRouteAllEnabled: vnetRouteAllEnabled
dnsConfiguration: vnetDnsConfiguration
Copy link
Contributor

Choose a reason for hiding this comment

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

Would it maybe make sense to add the same setting to the slot child module?

JWHolding and others added 2 commits February 5, 2025 15:35
Co-authored-by: Alexander Sehr <[email protected]>
Copy link
Contributor

@AlexanderSehr AlexanderSehr left a comment

Choose a reason for hiding this comment

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

Please note that the Set-AVMModule script must be executed again (readme & ARM JSON template are outdated)

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.

[AVM Module Issue]: Microsoft.Web/sites doesn't support dnsConfiguration block
2 participants