infrastructure/modules/services/variables.tf

46 lines
739 B
Terraform
Raw Normal View History

2024-09-29 23:22:03 +00:00
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
2024-10-06 17:08:13 +00:00
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))
2024-09-29 23:22:03 +00:00
auth = bool
2024-10-09 00:29:08 +00:00
auth_cert = optional(string)
2024-09-29 23:22:03 +00:00
auth_redirects = optional(list(string))
s3 = bool
database = bool
}))
}