mirror of
https://github.com/puppetmaster/typhoon.git
synced 2025-07-23 09:31:35 +02:00
Add region to gcp instance template resource
* Configure the regional worker instance templates with the region of the cluster. This defaults to the provider's region which isn't always what you want and if left off causes an error * Close #1512
This commit is contained in:
@ -62,6 +62,7 @@ resource "google_compute_region_instance_template" "worker" {
|
||||
name_prefix = "${var.name}-worker-"
|
||||
description = "Worker Instance template"
|
||||
machine_type = var.machine_type
|
||||
region = var.region
|
||||
|
||||
metadata = {
|
||||
user-data = data.ct_config.worker.rendered
|
||||
|
Reference in New Issue
Block a user