feat: Added DNS control to tofu
This commit is contained in:
@@ -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 }
|
||||
}
|
||||
Reference in New Issue
Block a user