Skip to content

Commit

Permalink
Updated some tests from debian-9 to debian-11 (13/?) (#6366) (#4561)
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
modular-magician authored Aug 3, 2022
1 parent 60a6bba commit d6e481f
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 27 deletions.
3 changes: 3 additions & 0 deletions .changelog/6366.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:none

```
54 changes: 27 additions & 27 deletions google-beta/resource_compute_instance_template_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1502,7 +1502,7 @@ func testAccCheckComputeInstanceTemplateHasDiskResourcePolicy(instanceTemplate *
func testAccComputeInstanceTemplate_basic(suffix string) string {
return fmt.Sprintf(`
data "google_compute_image" "my_image" {
family = "debian-9"
family = "debian-11"
project = "debian-cloud"
}
Expand Down Expand Up @@ -1599,7 +1599,7 @@ resource "google_compute_instance_template" "foobar" {
func testAccComputeInstanceTemplate_preemptible(suffix string) string {
return fmt.Sprintf(`
data "google_compute_image" "my_image" {
family = "debian-9"
family = "debian-11"
project = "debian-cloud"
}
Expand Down Expand Up @@ -1642,7 +1642,7 @@ resource "google_compute_address" "foo" {
}
data "google_compute_image" "my_image" {
family = "debian-9"
family = "debian-11"
project = "debian-cloud"
}
Expand Down Expand Up @@ -1676,7 +1676,7 @@ resource "google_compute_address" "foo" {
}
data "google_compute_image" "my_image" {
family = "debian-9"
family = "debian-11"
project = "debian-cloud"
}
Expand Down Expand Up @@ -1725,7 +1725,7 @@ resource "google_compute_instance_template" "foobar" {
func testAccComputeInstanceTemplate_networkTier(suffix string) string {
return fmt.Sprintf(`
data "google_compute_image" "my_image" {
family = "debian-9"
family = "debian-11"
project = "debian-cloud"
}
Expand All @@ -1750,7 +1750,7 @@ resource "google_compute_instance_template" "foobar" {
func testAccComputeInstanceTemplate_networkIP(suffix, networkIP string) string {
return fmt.Sprintf(`
data "google_compute_image" "my_image" {
family = "debian-9"
family = "debian-11"
project = "debian-cloud"
}
Expand Down Expand Up @@ -1778,7 +1778,7 @@ resource "google_compute_instance_template" "foobar" {
func testAccComputeInstanceTemplate_networkIPAddress(suffix, ipAddress string) string {
return fmt.Sprintf(`
data "google_compute_image" "my_image" {
family = "debian-9"
family = "debian-11"
project = "debian-cloud"
}
Expand Down Expand Up @@ -1806,7 +1806,7 @@ resource "google_compute_instance_template" "foobar" {
func testAccComputeInstanceTemplate_disks(suffix string) string {
return fmt.Sprintf(`
data "google_compute_image" "my_image" {
family = "debian-9"
family = "debian-11"
project = "debian-cloud"
}
Expand Down Expand Up @@ -1852,7 +1852,7 @@ resource "google_compute_instance_template" "foobar" {
func testAccComputeInstanceTemplate_disksInvalid(suffix string) string {
return fmt.Sprintf(`
data "google_compute_image" "my_image" {
family = "debian-9"
family = "debian-11"
project = "debian-cloud"
}
Expand Down Expand Up @@ -1924,7 +1924,7 @@ resource "google_compute_instance_template" "foobar" {
func testAccComputeInstanceTemplate_regionDisks(suffix string) string {
return fmt.Sprintf(`
data "google_compute_image" "my_image" {
family = "debian-9"
family = "debian-11"
project = "debian-cloud"
}
Expand Down Expand Up @@ -1967,7 +1967,7 @@ resource "google_compute_instance_template" "foobar" {
func testAccComputeInstanceTemplate_subnet_auto(network, suffix string) string {
return fmt.Sprintf(`
data "google_compute_image" "my_image" {
family = "debian-9"
family = "debian-11"
project = "debian-cloud"
}
Expand Down Expand Up @@ -2013,7 +2013,7 @@ resource "google_compute_subnetwork" "subnetwork" {
}
data "google_compute_image" "my_image" {
family = "debian-9"
family = "debian-11"
project = "debian-cloud"
}
Expand Down Expand Up @@ -2090,7 +2090,7 @@ resource "google_compute_subnetwork" "subnetwork" {
}
data "google_compute_image" "my_image" {
family = "debian-9"
family = "debian-11"
project = "debian-cloud"
}
Expand Down Expand Up @@ -2122,7 +2122,7 @@ resource "google_compute_instance_template" "foobar" {
func testAccComputeInstanceTemplate_startup_script(suffix string) string {
return fmt.Sprintf(`
data "google_compute_image" "my_image" {
family = "debian-9"
family = "debian-11"
project = "debian-cloud"
}
Expand Down Expand Up @@ -2153,7 +2153,7 @@ resource "google_compute_instance_template" "foobar" {
func testAccComputeInstanceTemplate_primaryAliasIpRange(i string) string {
return fmt.Sprintf(`
data "google_compute_image" "my_image" {
family = "debian-9"
family = "debian-11"
project = "debian-cloud"
}
Expand Down Expand Up @@ -2200,7 +2200,7 @@ resource "google_compute_subnetwork" "inst-test-subnetwork" {
}
data "google_compute_image" "my_image" {
family = "debian-9"
family = "debian-11"
project = "debian-cloud"
}
Expand Down Expand Up @@ -2239,7 +2239,7 @@ resource "google_compute_instance_template" "foobar" {
func testAccComputeInstanceTemplate_guestAccelerator(i string, count uint8) string {
return fmt.Sprintf(`
data "google_compute_image" "my_image" {
family = "debian-9"
family = "debian-11"
project = "debian-cloud"
}
Expand Down Expand Up @@ -2274,7 +2274,7 @@ resource "google_compute_instance_template" "foobar" {
func testAccComputeInstanceTemplate_minCpuPlatform(i string) string {
return fmt.Sprintf(`
data "google_compute_image" "my_image" {
family = "debian-9"
family = "debian-11"
project = "debian-cloud"
}
Expand Down Expand Up @@ -2306,7 +2306,7 @@ resource "google_compute_instance_template" "foobar" {
func testAccComputeInstanceTemplate_encryptionKMS(suffix, kmsLink string) string {
return fmt.Sprintf(`
data "google_compute_image" "my_image" {
family = "debian-9"
family = "debian-11"
project = "debian-cloud"
}
Expand Down Expand Up @@ -2340,7 +2340,7 @@ resource "google_compute_instance_template" "foobar" {
func testAccComputeInstanceTemplate_soleTenantInstanceTemplate(suffix string) string {
return fmt.Sprintf(`
data "google_compute_image" "my_image" {
family = "debian-9"
family = "debian-11"
project = "debian-cloud"
}
Expand Down Expand Up @@ -2380,7 +2380,7 @@ resource "google_compute_instance_template" "foobar" {
func testAccComputeInstanceTemplate_reservationAffinityInstanceTemplate_nonSpecificReservation(templateName, consumeReservationType string) string {
return fmt.Sprintf(`
data "google_compute_image" "my_image" {
family = "debian-9"
family = "debian-11"
project = "debian-cloud"
}
Expand Down Expand Up @@ -2409,7 +2409,7 @@ resource "google_compute_instance_template" "foobar" {
func testAccComputeInstanceTemplate_reservationAffinityInstanceTemplate_specificReservation(templateName string) string {
return fmt.Sprintf(`
data "google_compute_image" "my_image" {
family = "debian-9"
family = "debian-11"
project = "debian-cloud"
}
Expand Down Expand Up @@ -2601,7 +2601,7 @@ resource "google_compute_instance_template" "foobar" {
func testAccComputeInstanceTemplate_imageResourceTest(diskName string, imageName string, imageDescription string) string {
return fmt.Sprintf(`
data "google_compute_image" "my_image" {
family = "debian-9"
family = "debian-11"
project = "debian-cloud"
}
Expand Down Expand Up @@ -2634,7 +2634,7 @@ resource "google_compute_instance_template" "foobar" {
func testAccComputeInstanceTemplate_resourcePolicies(suffix string, policyName string) string {
return fmt.Sprintf(`
data "google_compute_image" "my_image" {
family = "debian-9"
family = "debian-11"
project = "debian-cloud"
}
resource "google_compute_instance_template" "foobar" {
Expand Down Expand Up @@ -2732,7 +2732,7 @@ resource "google_compute_instance_template" "foobar" {
func testAccComputeInstanceTemplate_queueCount(instanceTemplateName string) string {
return fmt.Sprintf(`
data "google_compute_image" "my_image" {
family = "debian-9"
family = "debian-11"
project = "debian-cloud"
}
Expand All @@ -2759,7 +2759,7 @@ data "google_compute_default_service_account" "default" {
}
data "google_compute_image" "my_image" {
family = "debian-9"
family = "debian-11"
project = "debian-cloud"
}
Expand Down Expand Up @@ -2836,7 +2836,7 @@ resource "google_compute_instance_template" "foobar" {
func testAccComputeInstanceTemplate_spot(suffix string) string {
return fmt.Sprintf(`
data "google_compute_image" "my_image" {
family = "debian-9"
family = "debian-11"
project = "debian-cloud"
}
Expand Down

0 comments on commit d6e481f

Please sign in to comment.