16 lines
382 B
Terraform
16 lines
382 B
Terraform
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 = []
|
|
}
|