var.treafik copy-paste...
This commit is contained in:
parent
5e73523c38
commit
d7527a11e4
8 changed files with 58 additions and 65 deletions
|
@ -23,10 +23,9 @@ variable "traefik" {
|
|||
non-ssl = optional(bool, true)
|
||||
ssl = optional(bool, false)
|
||||
rule = optional(string)
|
||||
network = optional(object({
|
||||
name = string
|
||||
id = string
|
||||
}))
|
||||
middlewares = optional(list(string))
|
||||
network = optional(object({ name = string, id = string }))
|
||||
basic-auth-users = optional(list(string))
|
||||
})
|
||||
description = "Whether to enable traefik for the service."
|
||||
}
|
||||
|
|
|
@ -69,10 +69,9 @@ variable "traefik" {
|
|||
non-ssl = optional(bool, true)
|
||||
ssl = optional(bool, false)
|
||||
rule = optional(string)
|
||||
network = optional(object({
|
||||
name = string
|
||||
id = string
|
||||
}))
|
||||
middlewares = optional(list(string))
|
||||
network = optional(object({ name = string, id = string }))
|
||||
basic-auth-users = optional(list(string))
|
||||
})
|
||||
description = "Whether to enable traefik for the service."
|
||||
}
|
|
@ -41,10 +41,9 @@ variable "traefik" {
|
|||
non-ssl = optional(bool, true)
|
||||
ssl = optional(bool, false)
|
||||
rule = optional(string)
|
||||
network = optional(object({
|
||||
name = string
|
||||
id = string
|
||||
}))
|
||||
middlewares = optional(list(string))
|
||||
network = optional(object({ name = string, id = string }))
|
||||
basic-auth-users = optional(list(string))
|
||||
})
|
||||
description = "Whether to enable traefik for the service."
|
||||
}
|
|
@ -20,10 +20,9 @@ variable "traefik" {
|
|||
non-ssl = optional(bool, true)
|
||||
ssl = optional(bool, false)
|
||||
rule = optional(string)
|
||||
network = optional(object({
|
||||
name = string
|
||||
id = string
|
||||
}))
|
||||
middlewares = optional(list(string))
|
||||
network = optional(object({ name = string, id = string }))
|
||||
basic-auth-users = optional(list(string))
|
||||
})
|
||||
description = "Whether to enable traefik for the service."
|
||||
}
|
||||
|
|
|
@ -40,10 +40,9 @@ variable "traefik" {
|
|||
non-ssl = optional(bool, true)
|
||||
ssl = optional(bool, false)
|
||||
rule = optional(string)
|
||||
network = optional(object({
|
||||
name = string
|
||||
id = string
|
||||
}))
|
||||
middlewares = optional(list(string))
|
||||
network = optional(object({ name = string, id = string }))
|
||||
basic-auth-users = optional(list(string))
|
||||
})
|
||||
description = "Whether to enable traefik for the service."
|
||||
}
|
|
@ -19,10 +19,9 @@ variable "traefik" {
|
|||
non-ssl = optional(bool, true)
|
||||
ssl = optional(bool, false)
|
||||
rule = optional(string)
|
||||
network = optional(object({
|
||||
name = string
|
||||
id = string
|
||||
}))
|
||||
middlewares = optional(list(string))
|
||||
network = optional(object({ name = string, id = string }))
|
||||
basic-auth-users = optional(list(string))
|
||||
})
|
||||
description = "Whether to enable traefik for the service."
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@ variable "postgres_image" {
|
|||
description = "The docker image to use for the postgres service."
|
||||
}
|
||||
variable "postgres_version" {
|
||||
default = "latest"
|
||||
default = "17"
|
||||
type = string
|
||||
description = "The version of the docker image to use for the postgres service."
|
||||
}
|
||||
|
@ -53,7 +53,7 @@ variable "ports" {
|
|||
condition = alltrue([for port in var.ports : port.container >= 1 && port.container <= 65535])
|
||||
}
|
||||
validation {
|
||||
error_message = "protocol must be either 'tcp' or 'udp'."
|
||||
error_message = "Protocol must be either 'tcp' or 'udp'."
|
||||
condition = alltrue([for port in var.ports : port.protocol == "tcp" || port.protocol == "udp"])
|
||||
}
|
||||
}
|
||||
|
|
|
@ -23,10 +23,9 @@ variable "traefik" {
|
|||
non-ssl = optional(bool, true)
|
||||
ssl = optional(bool, false)
|
||||
rule = optional(string)
|
||||
network = optional(object({
|
||||
name = string
|
||||
id = string
|
||||
}))
|
||||
middlewares = optional(list(string))
|
||||
network = optional(object({ name = string, id = string }))
|
||||
basic-auth-users = optional(list(string))
|
||||
})
|
||||
description = "Whether to enable traefik for the service."
|
||||
}
|
Loading…
Reference in a new issue