diff --git a/test/fixtures/node_pool/example.tf b/test/fixtures/node_pool/example.tf index c5741bdbed..c29124b2b7 100644 --- a/test/fixtures/node_pool/example.tf +++ b/test/fixtures/node_pool/example.tf @@ -19,8 +19,8 @@ module "example" { project_id = var.project_ids[0] cluster_name_suffix = "-${random_string.suffix.result}" - region = var.region - zones = slice(var.zones, 0, 1) + region = "europe-west4" + zones = ["europe-west4-a"] network = google_compute_network.main.name subnetwork = google_compute_subnetwork.main.name ip_range_pods = google_compute_subnetwork.main.secondary_ip_range[0].range_name diff --git a/test/fixtures/node_pool/network.tf b/test/fixtures/node_pool/network.tf index 94a7c86675..13e6e76076 100644 --- a/test/fixtures/node_pool/network.tf +++ b/test/fixtures/node_pool/network.tf @@ -32,7 +32,7 @@ resource "google_compute_network" "main" { resource "google_compute_subnetwork" "main" { name = "cft-gke-test-${random_string.suffix.result}" ip_cidr_range = "10.0.0.0/17" - region = var.region + region = "europe-west4" network = google_compute_network.main.self_link secondary_ip_range { diff --git a/test/integration/node_pool/controls/gcloud.rb b/test/integration/node_pool/controls/gcloud.rb index 3367162f76..5ed27d7919 100644 --- a/test/integration/node_pool/controls/gcloud.rb +++ b/test/integration/node_pool/controls/gcloud.rb @@ -514,8 +514,8 @@ including( "name" => "pool-03", "locations" => match_array([ - "us-central1-b", - "us-central1-c", + "#{location}-b", + "#{location}-c", ]), ) )