Adding variable structure for the new game_server config

This commit is contained in:
2024-12-08 18:28:34 -08:00
parent abf3297498
commit bf812cce4c
2 changed files with 25 additions and 4 deletions

View File

@@ -34,6 +34,18 @@ variable cluster {
})
}
variable lab_domain {
type = string
variable game_servers {
type = object({
namespace = string
configs = map(object({
name = optional(string)
image = string
cpu = string
mem = string
port = number
proto = optional(string)
})
)
})
}