Cloudflare DNS via TF
This commit is contained in:
@ -5,17 +5,20 @@ variable "api_token" {
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
variable "account_name" {
|
||||
description = "Cloudflare account name"
|
||||
type = string
|
||||
default = ""
|
||||
}
|
||||
|
||||
variable "a_records" {
|
||||
description = "DNS A records to create"
|
||||
type = list(object({
|
||||
name = string
|
||||
content = string
|
||||
}))
|
||||
default = []
|
||||
type = map(string)
|
||||
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 = {}
|
||||
}
|
Reference in New Issue
Block a user