Opinionated.tf/products/quassel/inputs.tf
2025-01-29 19:17:54 +01:00

33 lines
No EOL
891 B
HCL

variable "enable" {
type = bool
description = "Whether to enable the service."
default = true
}
variable "quassel_image" {
default = "lscr.io/linuxserver/quassel-core"
type = string
description = "The image to use for the quassel service"
}
variable "quassel_version" {
default = "latest"
type = string
description = "The version of the quassel image to use"
}
variable "stack_name" {
default = "quassel"
type = string
description = "The name of the stack to create."
}
variable "placement_constraints" {
default = []
type = list(string)
description = "Docker Swarm placement constraints"
}
variable "ports" {
default = [{ host = 4242, container = 4242 }]
type = list(object({
host = number
container = number
}))
description = "Ports to expose on the service. Default is port 4242."
}