azurerm_dns_zone

azurerm_dns_zone

The azurerm_dns_zone resource enables Cluster to create and manage customized DNS zones.

Example Usage

The following example delegates a cluster subdomain in the example.com DNS zone resulting in a testing.example.com DNS zone.

resource:
  azurerm_dns_zone:
    dns:
      domain: "example.com"
      domain_resource_group: "DefaultResourceGroup-WUS2"
      subdomain: "testing"

Settings

Setting Type Default Description
domain String None Name of the existing DNS zone
domain_resource_group String None Name of the resource group that contains the domain DNS zone
subdomain String None Name of the subdomain to delegate from the domain DNS zone