upcloud: add server groups and target port for lb (#9831)

This commit is contained in:
Robin Wallace
2023-02-28 02:21:15 +01:00
committed by GitHub
parent f7dade867a
commit 5bb54ef6a2
9 changed files with 75 additions and 3 deletions

View File

@@ -90,6 +90,16 @@ variable "loadbalancers" {
type = map(object({
port = number
target_port = number
backend_servers = list(string)
}))
}
variable "server_groups" {
description = "Server groups"
type = map(object({
anti_affinity = bool
servers = list(string)
}))
}