New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"masters" attribute is always empty for opentelekomcloud_dns_zone_v2 public zone #1703
Comments
@kbechler as I can see description in hc doc
|
I suppose, as there is |
@kbechler We might return a list of nameservers? But in this case, there may be not only master servers. |
@vladimirvshivkov My goal is to automate the process of adding new zone. If it will be a valid list of nameservers that could be used to configure NS delegation in parent zone, if will be acceptable for me. On the other hand, maybe such variable should be called "nameservers", not "masters" as the latter one would be confusing. |
[DNS] Add `data_source/opentelekomcloud_dns_nameserver_v2` Summary of the Pull Request PR Checklist Refers to: #1703, #1704 Tests added/passed. Schema updated. Release notes added. Acceptance Steps Performed === RUN TestAccDNSV2NameserverDataSource_basic --- PASS: TestAccDNSV2NameserverDataSource_basic (43.78s) PASS Process finished with exit code 0 Reviewed-by: Anton Kachurin <katchuring@gmail.com>
Implementing as |
@kbechler try to use this config:
this outputs the following:
Can't wait for your feedback! |
@kbechler, |
Terraform provider version
Terraform v1.1.7
Affected Resource(s)
opentelekomcloud_dns_zone_v2
Terraform Configuration Files
Steps to Reproduce
terraform apply
Expected Behavior
I should see a list of NS servers for newly created zone
What actually happened?
Empty output:
masters = toset([])
Important Factoids
API allows getting name servers for a public zone:
https://docs.otc.t-systems.com/en-us/api/dns/dns_api_62004.html,
The text was updated successfully, but these errors were encountered: