Opinionated.tf/products/pgadmin/inputs.tf
2025-02-14 21:29:33 +01:00

37 lines
No EOL
920 B
HCL

variable "enable" {
type = bool
description = "Whether to enable the service or merely provision it."
default = true
}
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."
}
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 "email" {
description = "The email address to use for the pgadmin login"
type = string
}