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 private endpoint URLs to environment() response #9839

Open
alex-frankel opened this issue Feb 14, 2023 · 3 comments
Open

Add private endpoint URLs to environment() response #9839

alex-frankel opened this issue Feb 14, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@alex-frankel
Copy link
Collaborator

Context from #9708:

  • When leveraging the environment function, 'privatelink${environment().suffixes.keyvaultDns}', to deploy a Private DNS Zone for the Azure Key Vault Private Endpoint, the following suffix is retrieved: "keyvaultDns": ".vault.azure.net". That is verified at this link - https://learn.microsoft.com/en-us/azure/azure-resource-manager/bicep/bicep-functions-deployment#example-1.
  • The proper Private DNS Zone for Key Vault Private Endpoints is actually privatelink.vaultcore.azure.net. If 'privatelink${environment().suffixes.keyvaultDns}' is defined in the template, the zone privatelink.vault.azure.net is created instead.

Presumably there are other private DNS equivalents for other resource providers, so we should do all of them at once.

@rebel24
Copy link

rebel24 commented Oct 26, 2023

Just spent a day on this due to this issue? Will this be resolved in the future so other people won't get this issue. With this issue the A records do not generate from the dnsgroup if you are using the wrong URL

@aavdberg
Copy link

I have the same problem and spend a lot of time on it before I figured it out that the suffix is wrong.

@alex-frankel when this will be fixed?

@bgawale
Copy link

bgawale commented Apr 18, 2024

Any update on this please? Still facing the same issue with key vault name suffix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

4 participants