Skip to content

Commit

Permalink
Update disk test that adds d1- to prefix (#4573)
Browse files Browse the repository at this point in the history
  • Loading branch information
rileykarson authored Mar 9, 2021
1 parent 1fa9e43 commit 4e664a8
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ data "google_compute_image" "my_image" {
}

resource "google_compute_disk" "foobar" {
name = "d1-%s"
name = "%s-d1"
image = data.google_compute_image.my_image.self_link
size = 50
type = "pd-ssd"
Expand All @@ -640,7 +640,7 @@ resource "google_compute_snapshot" "snapdisk" {
}

resource "google_compute_disk" "seconddisk" {
name = "d2-%s"
name = "%s-d2"
snapshot = google_compute_snapshot.snapdisk.%s
type = "pd-ssd"
zone = "us-central1-a"
Expand Down Expand Up @@ -888,4 +888,4 @@ resource "google_compute_instance" "foobar" {
}
`, diskName, enableMultiwriter, instance)
}
<% end -%>
<% end -%>

0 comments on commit 4e664a8

Please sign in to comment.