hashicorp / terraform-provider-azurerm

Terraform provider for Azure Resource Manager
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs
Mozilla Public License 2.0
4.61k stars 4.65k forks source link

Support for resolutionPolicy on azurerm_private_dns_zone_virtual_network_link #28087

Open ineednewpajamas opened 4 days ago

ineednewpajamas commented 4 days ago

Is there an existing issue for this?

Community Note

Description

Please add resolution_policy toazurerm_private_dns_zone_virtual_network_link. The ResolutionPolicy property is available in API version 2024-06-01 or higher. Supported values are Default or NxDomainRedirect

New or Affected Resource(s)/Data Source(s)

azurerm_private_dns_zone_virtual_network_link

Potential Terraform Configuration

resource "azurerm_private_dns_zone_virtual_network_link" "example" {
  name                  = "test"
  resource_group_name   = azurerm_resource_group.example.name
  private_dns_zone_name = azurerm_private_dns_zone.example.name
  virtual_network_id    = azurerm_virtual_network.example.id
  resolution_policy     = "NxDomainRedirect"
}

References

https://learn.microsoft.com/en-us/azure/dns/private-dns-fallback

anwarnk commented 3 days ago

This would be great if it could be implemented, we have been waiting for something like this for a long time.

pelikanmartin commented 15 hours ago

Same here! A long-awaited feature from Microsoft for many.