mirror of
https://github.com/puppetmaster/typhoon.git
synced 2025-01-07 12:49:32 +01: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:
parent
e6989514a5
commit
6a5b808b17
@ -4,12 +4,15 @@ Notable changes between versions.
|
||||
|
||||
## Latest
|
||||
|
||||
## v1.31.1
|
||||
|
||||
* Kubernetes [v1.31.1](https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.31.md#v1311)
|
||||
* Update flannel from v0.25.5 to [v0.25.6](https://github.com/flannel-io/flannel/releases/tag/v0.25.6)
|
||||
|
||||
### Google
|
||||
|
||||
* Add `controller_disk_type` and `worker_disk_type` variables ([#1513](https://github.com/poseidon/typhoon/pull/1513))
|
||||
* Add explicit `region` field to regional worker instance templates ([#1524](https://github.com/poseidon/typhoon/pull/1524))
|
||||
|
||||
## v1.31.0
|
||||
|
||||
|
@ -62,6 +62,7 @@ resource "google_compute_region_instance_template" "worker" {
|
||||
name_prefix = "${var.name}-worker-"
|
||||
description = "${var.name} worker instance template"
|
||||
machine_type = var.machine_type
|
||||
region = var.region
|
||||
|
||||
metadata = {
|
||||
user-data = data.ct_config.worker.rendered
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user