34 lines
919 B
HCL
34 lines
919 B
HCL
variable "lawndale_dns_host" {
|
|
type = string
|
|
description = "Address to reach lawndale internal DNS server"
|
|
default = "lawndale-hyper"
|
|
}
|
|
|
|
variable "lawndale_dns_port" {
|
|
type = number
|
|
description = "Port where the lawndale internal DNS server listens on"
|
|
}
|
|
|
|
variable "lawndale_dns_transport" {
|
|
type = string
|
|
description = "Port where the lawndale internal DNS server listens on"
|
|
default = "udp"
|
|
|
|
validation {
|
|
condition = can(regex("(udp|tcp)", var.lawndale_dns_transport))
|
|
error_message = "Must be either tcp or udp!"
|
|
}
|
|
}
|
|
|
|
variable "lawndale_dns_key_secret" {
|
|
type = string
|
|
sensitive = true
|
|
description = "DNSSEC key to use sigining the NSUPDATE queries for Lawndale"
|
|
}
|
|
|
|
variable "lawndale_dns_key_algorithm" {
|
|
type = string
|
|
description = "DNSSEC key to use sigining the NSUPDATE queries for Lawndale"
|
|
default = "hmac-sha256"
|
|
}
|