Slimming down the cluster definition
This commit is contained in:
@@ -26,46 +26,31 @@ variable cluster {
|
||||
label = string
|
||||
version = string
|
||||
pools = map(object({
|
||||
plan = string
|
||||
autoscale = bool
|
||||
min = number
|
||||
max = number
|
||||
node_quantity = number
|
||||
plan = string
|
||||
label = string
|
||||
min_nodes = number
|
||||
max_nodes = number
|
||||
tag = string
|
||||
}))
|
||||
})
|
||||
}
|
||||
|
||||
variable game_servers {
|
||||
type = object({
|
||||
namespace = string
|
||||
configs = map(object({
|
||||
name = optional(string)
|
||||
image = string
|
||||
cpu = string
|
||||
mem = string
|
||||
port = object({
|
||||
internal = number
|
||||
expose = number
|
||||
})
|
||||
proto = optional(string)
|
||||
}))
|
||||
})
|
||||
}
|
||||
|
||||
variable admin_services {
|
||||
type = object({
|
||||
namespace = string
|
||||
configs = map(object({
|
||||
name = string
|
||||
image = string
|
||||
cpu = string
|
||||
mem = string
|
||||
port = object({
|
||||
notes = optional(string)
|
||||
internal = number
|
||||
expose = number
|
||||
})
|
||||
proto = optional(string)
|
||||
}))
|
||||
})
|
||||
}
|
||||
# variable admin_services {
|
||||
# type = object({
|
||||
# namespace = string
|
||||
# configs = map(object({
|
||||
# name = string
|
||||
# image = string
|
||||
# cpu = string
|
||||
# mem = string
|
||||
# port = object({
|
||||
# notes = optional(string)
|
||||
# internal = number
|
||||
# expose = number
|
||||
# })
|
||||
# proto = optional(string)
|
||||
# }))
|
||||
# })
|
||||
# }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user