Improve modules
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user