feat: Added DNS control to tofu

This commit is contained in:
2026-07-10 22:19:08 +01:00
parent e39e1637da
commit ae34a78a1d
9 changed files with 109 additions and 5 deletions
+9
View File
@@ -0,0 +1,9 @@
output "zone_ids" {
description = "Map of domain name to Hetzner zone ID."
value = { for name, z in hcloud_zone.this : name => z.id }
}
output "nameservers" {
description = "Map of domain name to the nameservers Hetzner assigned it - point your registrar's NS records at these to delegate DNS."
value = { for name, z in hcloud_zone.this : name => z.authoritative_nameservers.assigned }
}