Skip to content

Commit c4cdd85

Browse files
committed
fix fixture inputs
1 parent ad2312e commit c4cdd85

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

Diff for: test/fixtures/simple_regional_with_gateway_api/example.tf

+11-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,15 @@
1717
module "example" {
1818
source = "../../../examples/simple_regional_with_gateway_api"
1919

20-
project_id = var.project_ids[1]
21-
region = var.region
22-
gateway_api_channel = "CHANNEL_STANDARD"
20+
project_id = var.project_ids[1]
21+
cluster_name_suffix = "-${random_string.suffix.result}"
22+
region = var.region
23+
network = google_compute_network.main.name
24+
subnetwork = google_compute_subnetwork.main.name
25+
ip_range_pods = google_compute_subnetwork.main.secondary_ip_range[0].range_name
26+
ip_range_services = google_compute_subnetwork.main.secondary_ip_range[1].range_name
27+
compute_engine_service_account = var.compute_engine_service_accounts[0]
28+
skip_provisioners = true
29+
enable_binary_authorization = true
30+
gateway_api_channel = "CHANNEL_STANDARD"
2331
}

Diff for: test/fixtures/simple_regional_with_gateway_api/variables.tf

-5
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,3 @@ variable "region" {
2323
description = "The region to host the cluster in"
2424
default = "us-east4"
2525
}
26-
27-
variable "gateway_api_channel" {
28-
type = string
29-
description = "The gateway api channel of this cluster."
30-
}

0 commit comments

Comments
 (0)