Skip to content

sironite/terraform-azurerm-private_dns_zone_virtual_network_link

Repository files navigation

Private DNS zone Virtual Network Links

Changelog Notice Apache V2 License TF Registry

Usage - Module

Private DNS zone Virtual Network Links

resource "azurerm_private_dns_zone_virtual_network_link" "example" {
  name                  = "example-virtual-network-link"
  resource_group_name   = "example-resource-group"
  private_dns_zone_name = "example-private-dns-zone"
  virtual_network_id    = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example-resource-group/providers/Microsoft.Network/virtualNetworks/example-virtual-network"
}

Providers

Name Version
azurerm >= 2.0.0

Modules

No modules.

Resources

Name Type
azurerm_private_dns_zone_virtual_network_link.example resource

Inputs

Name Description Type Required
private_dns_zone_name The name of the private DNS zone. string yes
resource_group_name The name of the resource group. string yes
virtual_network_id The ID of the virtual network. string yes
virtual_network_name The name of the virtual network. string yes

Outputs

Name Description
virtual_network_link_id The ID of the virtual network link.

Related documentation

Contributors 3

  •  
  •  
  •  

Languages