Skip to content

Commit 68a48cc

Browse files
mw valkey terraform changes (#13049) (#943)
[upstream:28d29f13d29e6a5e5bf226748a7bed2d8ccc01fd] Signed-off-by: Modular Magician <[email protected]>
1 parent 8b1d4ba commit 68a48cc

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

memorystore_instance_basic/main.tf

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,17 @@ resource "google_memorystore_instance" "instance-basic" {
77
}
88
location = "us-central1"
99
deletion_protection_enabled = false
10+
maintenance_policy {
11+
weekly_maintenance_window {
12+
day = "MONDAY"
13+
start_time {
14+
hours = 1
15+
minutes = 0
16+
seconds = 0
17+
nanos = 0
18+
}
19+
}
20+
}
1021
depends_on = [
1122
google_network_connectivity_service_connection_policy.default
1223
]

memorystore_instance_full/main.tf

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,17 @@ resource "google_memorystore_instance" "instance-full" {
1717
mode = "SINGLE_ZONE"
1818
zone = "us-central1-b"
1919
}
20+
maintenance_policy {
21+
weekly_maintenance_window {
22+
day = "MONDAY"
23+
start_time {
24+
hours = 1
25+
minutes = 0
26+
seconds = 0
27+
nanos = 0
28+
}
29+
}
30+
}
2031
engine_version = "VALKEY_7_2"
2132
deletion_protection_enabled = false
2233
mode = "CLUSTER"

0 commit comments

Comments
 (0)