Allow week5 maintenance update track (#3971)

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
This commit is contained in:
Brandon Tucker
2026-05-18 01:17:09 -06:00
committed by GitHub
parent e7118d52e5
commit c75fbaf66e

View File

@@ -193,10 +193,10 @@ variable "maintenance_config" {
var.maintenance_config.maintenance_window.hour <= 23 &&
# Maintenance window update_track validation below
try(var.maintenance_config.maintenance_window.update_track, null) == null ? true :
contains(["canary", "stable"], var.maintenance_config.maintenance_window.update_track)
contains(["canary", "stable", "week5"], var.maintenance_config.maintenance_window.update_track)
)
)
error_message = "Maintenance window day must be between 1 and 7 or null, maintenance window hour must be between 0 and 23 and maintenance window update_track must be 'stable' or 'canary'."
error_message = "Maintenance window day must be between 1 and 7 or null, maintenance window hour must be between 0 and 23 and maintenance window update_track must be 'stable', 'canary', or 'week5'."
}
}