hashicorp / terraform-provider-azure-classic

Terraform Azure Classic (Service Management) provider
https://www.terraform.io/docs/providers/azure/
Mozilla Public License 2.0
2 stars 11 forks source link

[azure] azure_virtual_network dns_servers is an invalid or unknown key #17

Closed hashibot closed 6 years ago

hashibot commented 7 years ago

This issue was originally opened by @davehodgson as hashicorp/terraform#4173. It was migrated here as part of the provider split. The original body of the issue is below.


Trying to create an azure_virtual_network with a dns server specified, as per the documentation at: https://www.terraform.io/docs/providers/azure/r/virtual_network.html#dns_servers

When I include the dns_servers key it results in an error of invalid or unknown key, I tried with dns_server and dnsservers and dnsserver as well, none of them are correct.

Looks like either it is not supported and needs to be removed from doco or the name is incorrect in the doco?

In hindsight for my setup it would result in a circular dependency whereby I am creating a VM which will be the dns server so it wouldn't make sense anyway since

  1. the VM relies on the VNET to be created first,
  2. the azure_dns_server resource relies on the VM to be created 3.making the VNET depend on the dns server existing would be a bit pointless so I'll add it manually in the portal later or by powershell in the provisioner

The key seems to be faulty in that resource or documentation though

Cheers Dave

vancluever commented 6 years ago

Hello!

Thank you for opening this issue and participating in the discussion. Today (December 19, 2017) we’ve announced the deprecation and archival of the Azure Classic Provider. Matching Microsoft’s commitment to gradually remove access to Azure Classic (or Service Management) which is outlined in this blog post, we are closing all open PR's and Issues here. This repository will remain available here on GitHub, but in an archived state, and no longer receiving support or new releases.

The Azure (Resource Manager) Provider remains fully supported and is our recommended approach for managing Azure with Terraform. More information about this process is available in the blog post linked above.

Thanks! The Terraform Team