[AVM Question/Feedback]: dns_servers should be applied in the same order they were passed to the module #181
Labels
Language: Terraform 🌐
This is related to the Terraform IaC language
Status: Long Term ⏳
We will do it, but will take a longer amount of time due to complexity/priorities
Type: Question/Feedback 🙋
Further information is requested or just some feedback
Check for previous/existing GitHub issues
Description
Hi,
The ordering of dns servers configured on a vnet does matter (see https://learn.microsoft.com/en-us/azure/virtual-network/manage-virtual-network#change-dns-servers ), so it would be better if the module could keep the order in which the dns server list is passed to the module.
I guess that would require changing the dns_servers variable type from a set to a list, maybe with distinct() to prevent duplicates.
Thanks :)
The text was updated successfully, but these errors were encountered: