From 5226e0f021d011e60ff54afaffdccf7192078529 Mon Sep 17 00:00:00 2001 From: Stelian Ionescu Date: Wed, 7 Jun 2023 22:02:59 -0400 Subject: [PATCH] [TF] Add default for GKE maintenance window Terraform will complain that the default is null. The default maintenance window is Monday-Friday, between 7am and 11am Pacific time. --- terraform/aptos-node/gcp/variables.tf | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/terraform/aptos-node/gcp/variables.tf b/terraform/aptos-node/gcp/variables.tf index 26c66d278939e..3028a1f7e2f77 100644 --- a/terraform/aptos-node/gcp/variables.tf +++ b/terraform/aptos-node/gcp/variables.tf @@ -250,5 +250,11 @@ variable "gke_maintenance_policy" { recurrence = string }) }) - default = null + default = { + recurring_window = { + start_time = "2023-06-01T14:00:00Z" + end_time = "2023-06-01T18:00:00Z" + recurrence = "FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR" + } + } }