Since I don't have multiple terraform steps anymore it simply doesn't make sense to me anymore to split all tasks into separate folders. Instead I try to be as clear as possible in the README to make it easy to follow the structure in the future without too much headache.
50 lines
696 B
HCL
50 lines
696 B
HCL
variable "name" {
|
|
type = string
|
|
}
|
|
|
|
variable "ssh_keys" {
|
|
type = list(string)
|
|
}
|
|
|
|
variable "servers" {
|
|
type = list(object({
|
|
ipv4_id = number
|
|
ipv6_id = number
|
|
type = string
|
|
location = string
|
|
}))
|
|
}
|
|
|
|
variable "agents" {
|
|
type = list(object({
|
|
count = optional(number, 1)
|
|
type = string
|
|
location = string
|
|
}))
|
|
}
|
|
|
|
variable "ping_enabled" {
|
|
type = bool
|
|
default = true
|
|
}
|
|
|
|
variable "public_tcp_services" {
|
|
type = map(list(string))
|
|
default = {}
|
|
}
|
|
|
|
variable "kubernetes_exposed_ips" {
|
|
type = list(string)
|
|
default = []
|
|
}
|
|
|
|
variable "ssh_exposed_ips" {
|
|
type = list(string)
|
|
default = []
|
|
}
|
|
|
|
variable "ssh_port" {
|
|
type = number
|
|
default = 1022
|
|
}
|