Skip to content

Commit

Permalink
fix fixture inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
tuunit committed Dec 27, 2022
1 parent ad2312e commit c4cdd85
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
14 changes: 11 additions & 3 deletions test/fixtures/simple_regional_with_gateway_api/example.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,15 @@
module "example" {
source = "../../../examples/simple_regional_with_gateway_api"

project_id = var.project_ids[1]
region = var.region
gateway_api_channel = "CHANNEL_STANDARD"
project_id = var.project_ids[1]
cluster_name_suffix = "-${random_string.suffix.result}"
region = var.region
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
ip_range_services = google_compute_subnetwork.main.secondary_ip_range[1].range_name
compute_engine_service_account = var.compute_engine_service_accounts[0]
skip_provisioners = true
enable_binary_authorization = true
gateway_api_channel = "CHANNEL_STANDARD"
}
5 changes: 0 additions & 5 deletions test/fixtures/simple_regional_with_gateway_api/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,3 @@ variable "region" {
description = "The region to host the cluster in"
default = "us-east4"
}

variable "gateway_api_channel" {
type = string
description = "The gateway api channel of this cluster."
}

0 comments on commit c4cdd85

Please sign in to comment.