Optimize service port definition
This commit is contained in:
@@ -18,37 +18,15 @@ variable "labels" {
|
||||
type = map(string)
|
||||
}
|
||||
|
||||
variable "ingress_class" {
|
||||
variable "dns_name" {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "icon" {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "dns_names" {
|
||||
type = list(string)
|
||||
}
|
||||
|
||||
variable "access_token_validity" {
|
||||
type = string
|
||||
default = "hours=10" // ;minutes=10
|
||||
}
|
||||
|
||||
variable "app_name" {
|
||||
type = string
|
||||
default = ""
|
||||
}
|
||||
|
||||
variable "service" {
|
||||
type = object({
|
||||
name = string
|
||||
port = object({
|
||||
number = number
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
variable "request_headers" {
|
||||
type = map(string)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user