Improve modules

This commit is contained in:
2024-01-15 09:30:00 +01:00
parent e0baae6132
commit d5e4a06936
4 changed files with 105 additions and 35 deletions

View File

@@ -30,17 +30,29 @@ variable "services" {
variable "create_redirect" {
type = bool
default = false
default = true
}
variable "create_cert" {
type = bool
default = true
}
variable "enforce_tls" {
type = bool
default = true
}
variable "sub_paths" {
type = list(string)
default = [""]
}
variable "secret_component" {
variable "cert_name" {
type = string
default = ""
}
variable "entrypoint" {
type = string
default = ""
validation {
condition = contains(["", "web", "websecure"], var.entrypoint)
error_message = "Only empty \"\", web or websecure is allowed"
}
}