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

Add policy to configure domain-based dns zone configuration on App Service Private Endpoints #445

Merged
merged 3 commits into from
May 15, 2024

Conversation

digitmj
Copy link
Contributor

@digitmj digitmj commented May 5, 2024

The builtin policy Configure App Service apps to use private DNS zones does not evaluate the domain suffix used by the App Service app (azurewebsites.net versus appserviceenvironment.net).

I've created a custom policy as an improvement since it uses ARM template functions to determine the domain suffix in the defaultHostname property of the App Service App, and then determines which of the two private dns zones to use (given by the input parameters).

@digitmj digitmj closed this May 14, 2024
@digitmj digitmj reopened this May 14, 2024
@Joshua-Donovan Joshua-Donovan merged commit 58c1afd into Azure:main May 15, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants