Change serve_while_stale type to a number (#1329)

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
This commit is contained in:
Toby Archer 2023-05-05 09:41:12 +02:00 committed by GitHub
parent 23299f7bd7
commit e333b6ffa2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -58,7 +58,7 @@ variable "backend_service_configs" {
default_ttl = optional(number)
max_ttl = optional(number)
negative_caching = optional(bool)
serve_while_stale = optional(bool)
serve_while_stale = optional(number)
signed_url_cache_max_age_sec = optional(number)
cache_key_policy = optional(object({
include_host = optional(bool)

View File

@ -37,7 +37,7 @@ variable "backend_buckets_config" {
max_ttl = optional(number)
negative_caching = optional(bool)
request_coalescing = optional(bool)
serve_while_stale = optional(bool)
serve_while_stale = optional(number)
signed_url_cache_max_age_sec = optional(number)
cache_key_policy = optional(object({
include_http_headers = optional(list(string))