From f224fdf43696461aa84a6a55a29d8804616a5130 Mon Sep 17 00:00:00 2001 From: Modular Magician Date: Thu, 20 Mar 2025 21:23:07 +0000 Subject: [PATCH] mw valkey terraform changes (#13049) [upstream:28d29f13d29e6a5e5bf226748a7bed2d8ccc01fd] Signed-off-by: Modular Magician --- memorystore_instance_basic/main.tf | 11 +++++++++++ memorystore_instance_full/main.tf | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/memorystore_instance_basic/main.tf b/memorystore_instance_basic/main.tf index 27b8bc3b..febd1275 100644 --- a/memorystore_instance_basic/main.tf +++ b/memorystore_instance_basic/main.tf @@ -7,6 +7,17 @@ resource "google_memorystore_instance" "instance-basic" { } location = "us-central1" deletion_protection_enabled = false + maintenance_policy { + weekly_maintenance_window { + day = "MONDAY" + start_time { + hours = 1 + minutes = 0 + seconds = 0 + nanos = 0 + } + } + } depends_on = [ google_network_connectivity_service_connection_policy.default ] diff --git a/memorystore_instance_full/main.tf b/memorystore_instance_full/main.tf index fa5ea93d..60ffd620 100644 --- a/memorystore_instance_full/main.tf +++ b/memorystore_instance_full/main.tf @@ -17,6 +17,17 @@ resource "google_memorystore_instance" "instance-full" { mode = "SINGLE_ZONE" zone = "us-central1-b" } + maintenance_policy { + weekly_maintenance_window { + day = "MONDAY" + start_time { + hours = 1 + minutes = 0 + seconds = 0 + nanos = 0 + } + } + } engine_version = "VALKEY_7_2" deletion_protection_enabled = false mode = "CLUSTER"