Skip to content

Commit fe43bdc

Browse files
Updated tests to use disk from config connector docs (#4235) (#2720)
https://cloud.google.com/config-connector/docs/reference/resource-docs/compute/computeimage Signed-off-by: Modular Magician <[email protected]>
1 parent 194eb2f commit fe43bdc

File tree

6 files changed

+20
-17
lines changed

6 files changed

+20
-17
lines changed

.changelog/4235.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:none
2+
3+
```

google-beta/iam_compute_image_generated_test.go

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ resource "google_compute_image" "example" {
279279
name = "tf-test-example-image%{random_suffix}"
280280
281281
raw_disk {
282-
source = "https://storage.googleapis.com/bosh-cpi-artifacts/bosh-stemcell-3262.4-google-kvm-ubuntu-trusty-go_agent-raw.tar.gz"
282+
source = "https://storage.googleapis.com/bosh-gce-raw-stemcells/bosh-stemcell-97.98-google-kvm-ubuntu-xenial-go_agent-raw-1557960142.tar.gz"
283283
}
284284
}
285285
@@ -298,7 +298,7 @@ resource "google_compute_image" "example" {
298298
name = "tf-test-example-image%{random_suffix}"
299299
300300
raw_disk {
301-
source = "https://storage.googleapis.com/bosh-cpi-artifacts/bosh-stemcell-3262.4-google-kvm-ubuntu-trusty-go_agent-raw.tar.gz"
301+
source = "https://storage.googleapis.com/bosh-gce-raw-stemcells/bosh-stemcell-97.98-google-kvm-ubuntu-xenial-go_agent-raw-1557960142.tar.gz"
302302
}
303303
}
304304
@@ -323,7 +323,7 @@ resource "google_compute_image" "example" {
323323
name = "tf-test-example-image%{random_suffix}"
324324
325325
raw_disk {
326-
source = "https://storage.googleapis.com/bosh-cpi-artifacts/bosh-stemcell-3262.4-google-kvm-ubuntu-trusty-go_agent-raw.tar.gz"
326+
source = "https://storage.googleapis.com/bosh-gce-raw-stemcells/bosh-stemcell-97.98-google-kvm-ubuntu-xenial-go_agent-raw-1557960142.tar.gz"
327327
}
328328
}
329329
@@ -344,7 +344,7 @@ resource "google_compute_image" "example" {
344344
name = "tf-test-example-image%{random_suffix}"
345345
346346
raw_disk {
347-
source = "https://storage.googleapis.com/bosh-cpi-artifacts/bosh-stemcell-3262.4-google-kvm-ubuntu-trusty-go_agent-raw.tar.gz"
347+
source = "https://storage.googleapis.com/bosh-gce-raw-stemcells/bosh-stemcell-97.98-google-kvm-ubuntu-xenial-go_agent-raw-1557960142.tar.gz"
348348
}
349349
}
350350
@@ -363,7 +363,7 @@ resource "google_compute_image" "example" {
363363
name = "tf-test-example-image%{random_suffix}"
364364
365365
raw_disk {
366-
source = "https://storage.googleapis.com/bosh-cpi-artifacts/bosh-stemcell-3262.4-google-kvm-ubuntu-trusty-go_agent-raw.tar.gz"
366+
source = "https://storage.googleapis.com/bosh-gce-raw-stemcells/bosh-stemcell-97.98-google-kvm-ubuntu-xenial-go_agent-raw-1557960142.tar.gz"
367367
}
368368
}
369369
@@ -382,7 +382,7 @@ resource "google_compute_image" "example" {
382382
name = "tf-test-example-image%{random_suffix}"
383383
384384
raw_disk {
385-
source = "https://storage.googleapis.com/bosh-cpi-artifacts/bosh-stemcell-3262.4-google-kvm-ubuntu-trusty-go_agent-raw.tar.gz"
385+
source = "https://storage.googleapis.com/bosh-gce-raw-stemcells/bosh-stemcell-97.98-google-kvm-ubuntu-xenial-go_agent-raw-1557960142.tar.gz"
386386
}
387387
}
388388
@@ -406,7 +406,7 @@ resource "google_compute_image" "example" {
406406
name = "tf-test-example-image%{random_suffix}"
407407
408408
raw_disk {
409-
source = "https://storage.googleapis.com/bosh-cpi-artifacts/bosh-stemcell-3262.4-google-kvm-ubuntu-trusty-go_agent-raw.tar.gz"
409+
source = "https://storage.googleapis.com/bosh-gce-raw-stemcells/bosh-stemcell-97.98-google-kvm-ubuntu-xenial-go_agent-raw-1557960142.tar.gz"
410410
}
411411
}
412412
@@ -437,7 +437,7 @@ resource "google_compute_image" "example" {
437437
name = "tf-test-example-image%{random_suffix}"
438438
439439
raw_disk {
440-
source = "https://storage.googleapis.com/bosh-cpi-artifacts/bosh-stemcell-3262.4-google-kvm-ubuntu-trusty-go_agent-raw.tar.gz"
440+
source = "https://storage.googleapis.com/bosh-gce-raw-stemcells/bosh-stemcell-97.98-google-kvm-ubuntu-xenial-go_agent-raw-1557960142.tar.gz"
441441
}
442442
}
443443
@@ -461,7 +461,7 @@ resource "google_compute_image" "example" {
461461
name = "tf-test-example-image%{random_suffix}"
462462
463463
raw_disk {
464-
source = "https://storage.googleapis.com/bosh-cpi-artifacts/bosh-stemcell-3262.4-google-kvm-ubuntu-trusty-go_agent-raw.tar.gz"
464+
source = "https://storage.googleapis.com/bosh-gce-raw-stemcells/bosh-stemcell-97.98-google-kvm-ubuntu-xenial-go_agent-raw-1557960142.tar.gz"
465465
}
466466
}
467467
@@ -492,7 +492,7 @@ resource "google_compute_image" "example" {
492492
name = "tf-test-example-image%{random_suffix}"
493493
494494
raw_disk {
495-
source = "https://storage.googleapis.com/bosh-cpi-artifacts/bosh-stemcell-3262.4-google-kvm-ubuntu-trusty-go_agent-raw.tar.gz"
495+
source = "https://storage.googleapis.com/bosh-gce-raw-stemcells/bosh-stemcell-97.98-google-kvm-ubuntu-xenial-go_agent-raw-1557960142.tar.gz"
496496
}
497497
}
498498

google-beta/resource_compute_image_generated_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ resource "google_compute_image" "example" {
5757
name = "tf-test-example-image%{random_suffix}"
5858
5959
raw_disk {
60-
source = "https://storage.googleapis.com/bosh-cpi-artifacts/bosh-stemcell-3262.4-google-kvm-ubuntu-trusty-go_agent-raw.tar.gz"
60+
source = "https://storage.googleapis.com/bosh-gce-raw-stemcells/bosh-stemcell-97.98-google-kvm-ubuntu-xenial-go_agent-raw-1557960142.tar.gz"
6161
}
6262
}
6363
`, context)
@@ -97,7 +97,7 @@ resource "google_compute_image" "example" {
9797
name = "tf-test-example-image%{random_suffix}"
9898
9999
raw_disk {
100-
source = "https://storage.googleapis.com/bosh-cpi-artifacts/bosh-stemcell-3262.4-google-kvm-ubuntu-trusty-go_agent-raw.tar.gz"
100+
source = "https://storage.googleapis.com/bosh-gce-raw-stemcells/bosh-stemcell-97.98-google-kvm-ubuntu-xenial-go_agent-raw-1557960142.tar.gz"
101101
}
102102
103103
guest_os_features {

google-beta/resource_compute_image_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ resource "google_compute_image" "foobar" {
332332
description = "description-test"
333333
family = "family-test"
334334
raw_disk {
335-
source = "https://storage.googleapis.com/bosh-cpi-artifacts/bosh-stemcell-3262.4-google-kvm-ubuntu-trusty-go_agent-raw.tar.gz"
335+
source = "https://storage.googleapis.com/bosh-gce-raw-stemcells/bosh-stemcell-97.98-google-kvm-ubuntu-xenial-go_agent-raw-1557960142.tar.gz"
336336
}
337337
labels = {
338338
my-label = "my-label-value"
@@ -378,7 +378,7 @@ resource "google_compute_image" "foobar" {
378378
description = "description-test"
379379
family = "family-test"
380380
raw_disk {
381-
source = "https://storage.googleapis.com/bosh-cpi-artifacts/bosh-stemcell-3262.4-google-kvm-ubuntu-trusty-go_agent-raw.tar.gz"
381+
source = "https://storage.googleapis.com/bosh-gce-raw-stemcells/bosh-stemcell-97.98-google-kvm-ubuntu-xenial-go_agent-raw-1557960142.tar.gz"
382382
}
383383
labels = {
384384
empty-label = "oh-look-theres-a-label-now"

google-beta/resource_compute_instance_template_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1297,7 +1297,7 @@ resource "google_compute_image" "foobar" {
12971297
description = "description-test"
12981298
family = "family-test"
12991299
raw_disk {
1300-
source = "https://storage.googleapis.com/bosh-cpi-artifacts/bosh-stemcell-3262.4-google-kvm-ubuntu-trusty-go_agent-raw.tar.gz"
1300+
source = "https://storage.googleapis.com/bosh-gce-raw-stemcells/bosh-stemcell-97.98-google-kvm-ubuntu-xenial-go_agent-raw-1557960142.tar.gz"
13011301
}
13021302
labels = {
13031303
my-label = "my-label-value"

website/docs/r/compute_image.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ resource "google_compute_image" "example" {
5959
name = "example-image"
6060
6161
raw_disk {
62-
source = "https://storage.googleapis.com/bosh-cpi-artifacts/bosh-stemcell-3262.4-google-kvm-ubuntu-trusty-go_agent-raw.tar.gz"
62+
source = "https://storage.googleapis.com/bosh-gce-raw-stemcells/bosh-stemcell-97.98-google-kvm-ubuntu-xenial-go_agent-raw-1557960142.tar.gz"
6363
}
6464
}
6565
```
@@ -76,7 +76,7 @@ resource "google_compute_image" "example" {
7676
name = "example-image"
7777
7878
raw_disk {
79-
source = "https://storage.googleapis.com/bosh-cpi-artifacts/bosh-stemcell-3262.4-google-kvm-ubuntu-trusty-go_agent-raw.tar.gz"
79+
source = "https://storage.googleapis.com/bosh-gce-raw-stemcells/bosh-stemcell-97.98-google-kvm-ubuntu-xenial-go_agent-raw-1557960142.tar.gz"
8080
}
8181
8282
guest_os_features {

0 commit comments

Comments
 (0)