# === DNS Zone Outputs === output "zone_id" { value = var.zone_id != null ? var.zone_id : stackit_dns_zone.this[0].zone_id description = "The DNS zone ID used or created" } output "zone_primary_name_server" { value = stackit_dns_zone.this.primary_name_server description = "Primary name server" } output "zone_state" { value = stackit_dns_zone.this.state description = "State of the DNS zone" } output "zone_visibility" { value = stackit_dns_zone.this.visibility description = "Zone visibility" } output "zone_record_count" { value = stackit_dns_zone.this.record_count description = "Number of DNS records in the zone" } # === DNS Record Set Outputs === output "record_set_fqdn" { value = stackit_dns_record_set.this.fqdn description = "Fully qualified domain name of the record" } output "record_set_id" { value = stackit_dns_record_set.this.record_set_id description = "ID of the record set" } output "record_set_state" { value = stackit_dns_record_set.this.state description = "State of the record set" } output "record_set_error" { value = stackit_dns_record_set.this.error description = "Error during record creation (if any)" }