tf dns wip

This commit is contained in:
=
2024-10-26 16:48:20 +13:00
parent 9464737fe9
commit 29cb12a2d1
3 changed files with 49 additions and 70 deletions

View File

@ -5,20 +5,13 @@ variable "api_token" {
sensitive = true
}
variable "a_records" {
variable "dns_records" {
description = "DNS A records to create"
type = map(string)
default = {}
type = list(object({
name = string
type = string
content = string
ttl = number
}))
default = []
}
variable "cname_records" {
description = "DNS CNAME records to create"
type = map(string)
default = {}
}
variable "root_records" {
description = "Special root records to create with name @"
type = map(string)
default = {}
}