GoogleCloudPlatform/gke-terraform-generator

Hardcoded "-a" zone does not work for all regions

Closed this issue · 0 comments

ludoo commented

The bastion instance resource hardcodes the zone to "${var.region}-a", which does not work for all regions, eg "europe-west1".

You probably want an additional "zone" variable, and then using that both for setting the resource's "zone" attribute, and the zone arg in the gcloud ssh command. Both are in network.tf.