infrastructure/modules/services/variables.tf

45 lines
739 B
HCL

variable "authentik_url" {
}
variable "authentik_token" {
sensitive = true
}
variable "postgresql_host" {
}
variable "postgresql_port" {
}
variable "postgresql_username" {
sensitive = true
}
variable "postgresql_password" {
sensitive = true
}
variable "services" {
type = map(object({
name = string
host = string
dns = optional(list(object({
domain = string
target = string
name = optional(string)
alias = optional(string)
})))
backup = optional(list(object({
name = string
type = string
})))
ports = optional(list(string))
auth = bool
auth_cert = optional(string)
auth_redirects = optional(list(string))
s3 = bool
database = bool
}))
}