Add allow_stopping_for_update=true on google_compute_instance.vm. Without it, a TF change to machine_type triggers ForceNew (destroy + recreate); with it, the provider stops + mutates + restarts the VM in place, which is what an operator resizing a running deployment expects. Tag as infra-v1.7.0; consumers opt in by bumping the module ref. |
||
|---|---|---|
| .. | ||
| main.tf | ||
| outputs.tf | ||
| startup-script.sh.tpl | ||
| variables.tf | ||