Skip to content

Commit 1f3606d

Browse files
committed
Fixed start_time to beginning of the hour
1 parent eb1a253 commit 1f3606d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

mmv1/products/memorystore/Instance.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ properties:
157157
output: true
158158
- name: 'automatedBackupConfig'
159159
type: NestedObject
160-
default_from_api: true
161160
description: "The automated backup config for a instance."
161+
default_from_api: true
162162
properties:
163163
- name: 'automatedBackupMode'
164164
type: Enum

mmv1/third_party/terraform/services/memorystore/resource_memorystore_instance_test.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ func TestAccMemorystoreInstance_automatedBackupConfig(t *testing.T) {
8787
func testAccMemorystoreInstance_automatedBackupConfig(context map[string]interface{}) string {
8888
return acctest.Nprintf(`
8989
// Primary instance
90-
resource "google_memorystore_instance" "test-abc" {
90+
resource "google_memorystore_instance" "test_abc" {
9191
instance_id = "tf-test-instance-abc-%{random_suffix}"
9292
shard_count = 1
9393
location = "us-central1"
@@ -104,9 +104,9 @@ resource "google_memorystore_instance" "test-abc" {
104104
fixed_frequency_schedule {
105105
start_time {
106106
hours = 20
107-
minutes = 30
108-
seconds = 50
109-
nanos = 2
107+
minutes = 0
108+
seconds = 0
109+
nanos = 0
110110
}
111111
}
112112
}

0 commit comments

Comments
 (0)