zoneName

val zoneName: Output<String>

Specifies the DNS Zone where the resource exists. Changing this forces a new resource to be created.

Note: The zone_name should be the name of resource azure.dns.Zone instead of azure.privatedns.Zone.