64 lines
1.8 KiB
HCL
64 lines
1.8 KiB
HCL
variable "lawndale_dns_host" {
|
|
type = string
|
|
description = "Address to reach lawndale internal DNS server"
|
|
}
|
|
|
|
variable "lawndale_dns_port" {
|
|
type = number
|
|
description = "Port where the lawndale internal DNS server listens on"
|
|
default = 53
|
|
}
|
|
|
|
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"
|
|
}
|
|
|
|
variable "lawndale_libvirt_uri" {
|
|
type = string
|
|
description = "Libvirt URI to use accessing Lawndale hypervisor"
|
|
default = null
|
|
nullable = true
|
|
}
|
|
|
|
variable "lawndale_libvirt_uri_transport" {
|
|
type = string
|
|
description = "Transport protocol (could be ssh or tls) to dial Lawndale hypervisor"
|
|
}
|
|
|
|
variable "lawndale_libvirt_uri_userhostport" {
|
|
type = string
|
|
description = "Libvirt URI username, hostname or ip address, and port to reach lawndale hypervisor, in the format of `[username@]<hostname>[:port]`"
|
|
default = "lawndale-hyper"
|
|
}
|
|
|
|
variable "lawndale_libvirt_uri_path" {
|
|
type = string
|
|
description = "Libvirt URI path sent to the libvirt daemon"
|
|
default = "/system"
|
|
}
|
|
|
|
variable "lawndale_libvirt_uri_extra" {
|
|
type = map(any)
|
|
description = "Libvirt URI extra parameters [https://libvirt.org/uri.html#transport-configuration](See Libvirt transport configuration)"
|
|
default = {}
|
|
}
|