Files
kydah-modules/application/variables.tf
2024-05-21 09:42:56 +02:00

78 lines
1.2 KiB
HCL

variable "component" {
type = string
}
variable "instance" {
type = string
}
variable "icon" {
type = string
}
variable "app_group" {
type = string
}
variable "protocol_provider" {
type = number
default = null
}
variable "dns_name" {
type = string
description = "Deprecated, use rule_mapper"
default = ""
}
variable "app_name" {
type = string
default = ""
}
variable "sub_groups" {
type = list(string)
default = []
}
variable "backchannel_providers" {
type = list(number)
default = null
}
variable "ingress_class" {
type = string
default = "traefik"
}
variable "rule_mapper" {
type = object({
host = string
paths = list(object({
path = optional(string)
type = optional(string)
backend = object({
service = object({
name = string
port = object({
name = string
})
})
})
}))
})
default = {
host = "not.defined"
paths = []
}
}
variable "cert_name" {
type = string
default = ""
description = "Give a secret name for tls, if empty will use the ingress cert_name"
}
variable "namespace" {
type = string
default = ""
}
variable "labels" {
type = map(string)
default = {}
}