feat: Added DNS control to tofu
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
variable "zone_names" {
|
||||
description = "Domains to create as Hetzner DNS zones."
|
||||
type = list(string)
|
||||
}
|
||||
|
||||
variable "records" {
|
||||
description = "A records to create across the zones in var.zone_names. Use name = \"@\" for the zone apex."
|
||||
type = list(object({
|
||||
zone = string
|
||||
name = string
|
||||
value = string
|
||||
ttl = optional(number, 300)
|
||||
}))
|
||||
default = []
|
||||
}
|
||||
Reference in New Issue
Block a user