Skip to content

DNS zone does not output all name servers #1141

@gercograndia

Description

@gercograndia

Problem description

I want to be able to read the nameservers of a DNS zone once I create it. Currently the output of the stackit_dns_zone only outputs the primary_name_server and the other name server(s) can only be read from the original NS record (which you can't read via a data source as you don't know the id) or Registrar setup in the console.

This is breaking the automation flow.

Proposed solution

Output a list of name_servers:

stackit_dns_zone.name_servers = list(string)

Alternative solutions (optional)

Output the record set id of the NS record as part of the zone outputs, allowing you to use the stackit_dns_record_set data source.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions