Skip to content

Commit 62db24e

Browse files
Added zone to the existing sample (#6017) (#11674)
Signed-off-by: Modular Magician <[email protected]>
1 parent 8fa4d01 commit 62db24e

4 files changed

+12
-8
lines changed

.changelog/6017.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:none
2+
3+
```

google/resource_cgc_snippet_generated_test.go

+1
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ func testAccCGCSnippet_spotInstanceBasicExample(context map[string]interface{})
145145
resource "google_compute_instance" "spot_vm_instance" {
146146
name = "tf-test-spot-instance-name%{random_suffix}"
147147
machine_type = "f1-micro"
148+
zone = "us-central1-c"
148149
149150
boot_disk {
150151
initialize_params {

google/resource_clouddeploy_delivery_pipeline_generated_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@ resource "google_clouddeploy_delivery_pipeline" "primary" {
106106
name = "tf-test-pipeline%{random_suffix}"
107107
108108
annotations = {
109-
my_second_annotation = "updated-example-annotation-2"
110-
111109
my_third_annotation = "example-annotation-3"
110+
111+
my_second_annotation = "updated-example-annotation-2"
112112
}
113113
114114
description = "updated description"

google/resource_clouddeploy_target_generated_test.go

+6-6
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,9 @@ resource "google_clouddeploy_target" "primary" {
123123
name = "tf-test-target%{random_suffix}"
124124
125125
annotations = {
126-
my_second_annotation = "updated-example-annotation-2"
127-
128126
my_third_annotation = "example-annotation-3"
127+
128+
my_second_annotation = "updated-example-annotation-2"
129129
}
130130
131131
description = "updated description"
@@ -175,9 +175,9 @@ resource "google_clouddeploy_target" "primary" {
175175
}
176176
177177
labels = {
178-
my_third_label = "example-label-3"
179-
180178
my_second_label = "updated-example-label-2"
179+
180+
my_third_label = "example-label-3"
181181
}
182182
183183
project = "%{project_name}"
@@ -267,9 +267,9 @@ resource "google_clouddeploy_target" "primary" {
267267
}
268268
269269
labels = {
270-
my_third_label = "example-label-3"
271-
272270
my_second_label = "updated-example-label-2"
271+
272+
my_third_label = "example-label-3"
273273
}
274274
275275
project = "%{project_name}"

0 commit comments

Comments
 (0)