Azure / Azure-Verified-Modules

Azure Verified Modules (AVM) is an initiative to consolidate and set the standards for what a good Infrastructure-as-Code module looks like. Modules will then align to these standards, across languages (Bicep, Terraform etc.) and will then be classified as AVMs and available from their respective language specific registries.
https://aka.ms/AVM
MIT License
343 stars 81 forks source link

[Question/Feedback]: Make private-endpoints play well with Azure policies #445

Closed davidkarlsen closed 8 months ago

davidkarlsen commented 10 months ago

Check for previous/existing GitHub issues

Description

Its quite common to deploy the private-DNS with policies in an enterprise environment - because these zones are often hosted in the central hub in a hub-and-spoke setup. Hence it would be good for the AVM modules to be able to ignore drift on private-endpoint DNS-settings.

I propose that the private-endpoint logic is done conditionally like this:

In lack of this support in AVM, the user would have to deploy the module w/o any private-endpoint settings, and deal with this themselves outside of the AVM-module.

Relevant links:

matt-FFFFFF commented 10 months ago

Hi @davidkarlsen

We are coming up with guidance on this issue.

We will have it out by 2024

davidkarlsen commented 10 months ago

@matt-FFFFFF I can see it one of your favourite topics: https://www.youtube.com/watch?v=J61D3FcAyEU&ab_channel=AzureTerraformer :-D

matt-FFFFFF commented 9 months ago

Still on the list of things to do, won't be long

matt-FFFFFF commented 8 months ago

We have proposed this in a PR

fixed by #537