Add support for nginx streams

This commit is contained in:
2025-06-16 23:19:25 +02:00
parent b813cf8eda
commit c162944a73
10 changed files with 136 additions and 7 deletions
@@ -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 = {}
}