Add path_template_match and path_template_rewrite support to net-lb-app-ext (required for React apps for example).

This commit is contained in:
Taneli Leppä
2024-11-19 09:03:11 +01:00
committed by Wiktor Niesiobędzki
parent 817df69ff8
commit 73b6088132
3 changed files with 18 additions and 9 deletions

View File

@@ -57,8 +57,9 @@ variable "urlmap_config" {
nanos = optional(number)
}))
url_rewrite = optional(object({
host = optional(string)
path_prefix = optional(string)
host = optional(string)
path_prefix = optional(string)
path_template = optional(string)
}))
weighted_backend_services = optional(map(object({
weight = number
@@ -142,8 +143,9 @@ variable "urlmap_config" {
nanos = optional(number)
}))
url_rewrite = optional(object({
host = optional(string)
path_prefix = optional(string)
host = optional(string)
path_prefix = optional(string)
path_template = optional(string)
}))
weighted_backend_services = optional(map(object({
weight = number
@@ -330,8 +332,9 @@ variable "urlmap_config" {
nanos = optional(number)
}))
url_rewrite = optional(object({
host = optional(string)
path_prefix = optional(string)
host = optional(string)
path_prefix = optional(string)
path_template = optional(string)
}))
weighted_backend_services = optional(map(object({
weight = number