fix(net-lb-app-ext-regional): use list(string) for route_rules cors_policy attributes (#3776)

* Update CORS policy in urlmap_config to use lists for allow_headers, allow_methods, and expose_headers

* Update README.md to clarify urlmap_config structure and options for load balancer configuration
This commit is contained in:
Cooper van Wijck
2026-03-02 17:28:02 +11:00
committed by GitHub
parent dc5a6052be
commit d9d0ce9002
2 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@@ -230,12 +230,12 @@ variable "urlmap_config" {
request_mirror_backend = optional(string)
cors_policy = optional(object({
allow_credentials = optional(bool)
allow_headers = optional(string)
allow_methods = optional(string)
allow_headers = optional(list(string))
allow_methods = optional(list(string))
allow_origin_regexes = list(string)
allow_origins = list(string)
disabled = optional(bool)
expose_headers = optional(string)
expose_headers = optional(list(string))
max_age = optional(string)
}))
fault_injection_policy = optional(object({