mirror of
https://github.com/puppetmaster/typhoon.git
synced 2025-07-23 00:11:38 +02:00
Allow stopping Google Cloud controller nodes to resize them (#1424)
* Google Cloud requires VMs be stopped in order to update their properties. This is only allowed if explicitly enabled
This commit is contained in:
@ -33,6 +33,7 @@ resource "google_compute_instance" "controllers" {
|
||||
# use a zone in the region and wrap around (e.g. controllers > zones)
|
||||
zone = element(local.zones, count.index)
|
||||
machine_type = var.controller_type
|
||||
allow_stopping_for_update = true
|
||||
|
||||
metadata = {
|
||||
user-data = data.ct_config.controllers.*.rendered[count.index]
|
||||
|
Reference in New Issue
Block a user