ports declarations should support publish_mode
This commit is contained in:
parent
545244341c
commit
a8c92f599a
6 changed files with 24 additions and 18 deletions
|
@ -133,6 +133,7 @@ variable "ports" {
|
|||
host = optional(number, null)
|
||||
container = number
|
||||
protocol = optional(string, "tcp")
|
||||
publish_mode = optional(string, "ingress")
|
||||
}))
|
||||
default = []
|
||||
description = "A map of port mappings to expose on the host. The key is the host port, and the value is the container port."
|
||||
|
|
|
@ -58,6 +58,7 @@ variable "ports" {
|
|||
host = optional(number, null)
|
||||
container = number
|
||||
protocol = optional(string, "tcp")
|
||||
publish_mode = optional(string, "ingress")
|
||||
}))
|
||||
default = [{ container = 5000 }]
|
||||
description = "A map of port mappings to expose on the host. The key is the host port, and the value is the container port."
|
||||
|
|
|
@ -40,6 +40,7 @@ variable "ports" {
|
|||
host = optional(number, null)
|
||||
container = number
|
||||
protocol = optional(string, "tcp")
|
||||
publish_mode = optional(string, "ingress")
|
||||
}))
|
||||
default = []
|
||||
}
|
|
@ -52,6 +52,7 @@ variable "ports" {
|
|||
host = optional(number, null)
|
||||
container = number
|
||||
protocol = optional(string, "tcp")
|
||||
publish_mode = optional(string, "ingress")
|
||||
}))
|
||||
default = []
|
||||
}
|
||||
|
|
|
@ -40,6 +40,7 @@ variable "ports" {
|
|||
host = optional(number, null)
|
||||
container = number
|
||||
protocol = optional(string, "tcp")
|
||||
publish_mode = optional(string, "ingress")
|
||||
}))
|
||||
default = []
|
||||
}
|
|
@ -47,6 +47,7 @@ variable "ports" {
|
|||
host = optional(number, null)
|
||||
container = number
|
||||
protocol = optional(string, "tcp")
|
||||
publish_mode = optional(string, "ingress")
|
||||
}))
|
||||
default = []
|
||||
}
|
Loading…
Reference in a new issue