Add support for nginx streams
This commit is contained in:
@@ -57,3 +57,16 @@ variable "auth_token" {
|
||||
sensitive = true
|
||||
default = ""
|
||||
}
|
||||
|
||||
variable "streams" {
|
||||
description = "A list of streams to be deployed"
|
||||
type = map(object({
|
||||
port = number
|
||||
upstream = string
|
||||
custom_snippet = optional(string, "")
|
||||
resolver = optional(string, "")
|
||||
upstream_port = optional(number, null)
|
||||
protocol = optional(string, "TCP")
|
||||
}))
|
||||
default = {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user