Commit d876cd5
compute: add SNP_SVSM_CAPABLE and SEV_LIVE_MIGRATABLE_V2 to guest_os_features enum
Add `SNP_SVSM_CAPABLE` to the `guest_os_features` enum for
`google_compute_image` and `google_compute_region_disk`.
The GCP Compute API already returns `SNP_SVSM_CAPABLE` on newer images
(e.g. Ubuntu 24.04 based), but the provider's ValidateEnum rejects it,
causing plan failures on import and force-replacement of existing images.
Also adds `SEV_LIVE_MIGRATABLE_V2` to RegionDisk.yaml which was already
present in Image.yaml but missing from RegionDisk.
Fixes validation errors like:
expected guest_os_features.0.type to be one of [...], got SNP_SVSM_CAPABLE1 parent 323976f commit d876cd5
2 files changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
146 | 147 | | |
147 | 148 | | |
148 | 149 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
| 371 | + | |
| 372 | + | |
371 | 373 | | |
372 | 374 | | |
373 | 375 | | |
| |||
0 commit comments