infrastructure-as-code/openstack-tf/modules/dns_resources/variables_dns_resources.tf

24 lines
479 B
HCL

#Default DNS resource is EMPTY. Override it to create a proper plan
variable "dns_resources_map" {
type = map(object({
zone_id = string
name = string
description = string
ttl = number
type = string
records = list(string)
}))
default = {
dns_record = {
zone_id = ""
name = "",
description = "",
ttl = 8600,
type = "CNAME",
records = []
}
}
}