Adding variable structure for the new game_server config
This commit is contained in:
@@ -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)
|
||||
})
|
||||
)
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user