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"