Files
hunfabric/tests/modules
Suryansh Singhal ba304518f1 Prevent recreation for key_revocation_action in compute-vm module (#3620)
* fix(compute-vm): prevent instance recreation for key_revocation_action_type

The `key_revocation_action_type` attribute in the `google_compute_instance`
resource defaults to `NONE` on the provider side.

When this optional attribute was not explicitly set in the module's
`options` variable, it resolved to `null` in the Terraform configuration.
This caused Terraform to detect a change from `null` to `NONE` on every
plan, leading to unnecessary instance recreation.

This change applies `coalesce` to
`var.options.key_revocation_action_type` in the resource definition so
that it defaults to `NONE` when unset, aligning the configuration with
provider behavior and preventing a permadiff.

* updated the regional compute template too with the key_revocation_action_type

* fixed the formatting
2026-01-05 11:53:47 +01:00
..
2025-10-24 13:11:17 +02:00
2025-10-24 13:11:17 +02:00
2025-10-24 13:11:17 +02:00
2025-10-24 13:11:17 +02:00
2025-10-24 13:11:17 +02:00
2025-10-24 13:11:17 +02:00
2025-10-24 13:11:17 +02:00
2025-10-24 13:11:17 +02:00
2025-10-24 13:11:17 +02:00
2025-10-24 13:11:17 +02:00
2025-10-24 13:11:17 +02:00
2025-10-24 13:11:17 +02:00
2025-10-24 13:11:17 +02:00