hashicorp / terraform

Terraform enables you to safely and predictably create, change, and improve infrastructure. It is a source-available tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned.
https://www.terraform.io/
Other
42.65k stars 9.55k forks source link

azurerm dns zone should include apex ns record set values in attributes #5980

Closed cmsd2 closed 8 years ago

cmsd2 commented 8 years ago

In order to create a subdomain and delegate to it with an ns record it's necessary to get the subdomain's apex ns record set and to put those 4 returned dns servers in an ns record in the parent zone.

There's no way to get those apex ns records for a zone using terraform at the moment.

The azure rm rest api only returns the bare minimum info about a given zone and is probably why this hasn't been implemented so far. This would require an additional rest api call e.g. in resourceArmDnsZoneRead, to explicitly ask for details of the implicitly created apex ns record, and to add the results to the zone's attributes.

The aws provider has this info and shows how it might look to users.

stack72 commented 8 years ago

Hi @cmsd2

This was added in https://github.com/hashicorp/terraform/pull/7434

Paul

ghost commented 4 years ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.