1
0
IaC/terraform/cloudflare/variable_definitions.tf

48 lines
1.0 KiB
Terraform
Raw Normal View History

2024-10-23 04:22:32 +00:00
variable "api_token" {
description = "Cloudflare account API token"
type = string
default = ""
sensitive = true
}
2024-12-18 20:42:45 +00:00
variable "zone_id" {
description = "The DNS zone id as siplayed in cloudflare dashboard."
type = string
default = ""
sensitive = false
}
2024-10-26 03:48:20 +00:00
variable "dns_records" {
2024-10-23 04:22:32 +00:00
description = "DNS A records to create"
2024-10-26 03:48:20 +00:00
type = list(object({
name = string
type = string
content = string
ttl = number
}))
default = []
2024-10-24 05:39:30 +00:00
}
2024-11-29 06:35:04 +00:00
variable "mx_records" {
description = "DNS MX records to create"
type = list(object({
name = string
type = string
content = string
priority = number
ttl = number
}))
default = []
}
variable "caa_records" {
description = "DNS CAA records to create"
type = list(object({
name = string
type = string
content = string
# priority = number
ttl = number
}))
default = []
}