Opinionated.tf/products/smokeping/inputs.tf

33 lines
No EOL
809 B
HCL

variable "timezone" {
type = string
description = "The timezone to use for the service."
default = "Europe/London"
}
variable "traefik" {
default = null
type = object({
domain = string
port = optional(number, 80)
non-ssl = optional(bool, true)
ssl = optional(bool, false)
rule = optional(string)
network = optional(object({
name = string
id = string
}))
})
description = "Whether to enable traefik for the service."
}
variable "placement_constraints" {
default = []
type = list(string)
description = "Docker Swarm placement constraints"
}
variable "networks" {
type = list(object({
name = string
id = string
}))
default = []
description = "A list of network names to attach the service to."
}