init: copy from lawndale-infra
This commit is contained in:
33
variables.tf
Normal file
33
variables.tf
Normal file
@@ -0,0 +1,33 @@
|
||||
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"
|
||||
}
|
||||
Reference in New Issue
Block a user