2024-10-23 00:22:32 -04:00
|
|
|
variable "api_token" {
|
|
|
|
description = "Cloudflare account API token"
|
|
|
|
type = string
|
|
|
|
default = ""
|
|
|
|
sensitive = true
|
|
|
|
}
|
|
|
|
|
2024-10-25 23:48:20 -04:00
|
|
|
variable "dns_records" {
|
2024-10-23 00:22:32 -04:00
|
|
|
description = "DNS A records to create"
|
2024-10-25 23:48:20 -04:00
|
|
|
type = list(object({
|
|
|
|
name = string
|
|
|
|
type = string
|
|
|
|
content = string
|
|
|
|
ttl = number
|
|
|
|
}))
|
|
|
|
default = []
|
2024-10-24 01:39:30 -04:00
|
|
|
}
|