nutanix / terraform-provider-nutanix

Terraform Nutanix Provider
https://www.terraform.io/docs/providers/nutanix/
Mozilla Public License 2.0
100 stars 112 forks source link

Updating gives error: Machine type must be set to Q35 for secure boot. #494

Closed ppanula closed 1 year ago

ppanula commented 2 years ago

Nutanix Cluster Information

Nutanix Prism Element version: 5.20.4.6 LTS

Terraform Version

Terraform v1.2.9 on linux_amd64

Affected Resource(s)

Terraform Configuration Files

https://gist.github.com/ppanula/7d275086d6ba3492e92206122affbdcf

Debug Output

https://gist.github.com/ppanula/5936d08df3126a97c3e4d247cef23ef6

Expected Behavior

Updating memory from 2GB to 4 GB

Actual Behavior

Error message: Machine type must be set to Q35 for secure boot.

Steps to Reproduce

Make VM with SECURE_BOOT and Q35 then try to update memory

Important Factors

References

ppanula commented 2 years ago

It seems actually that any terraform apply will fail for this same error message.

johnnyf-hcp commented 1 year ago

I do see that @ppanula has submitted a PR for this in Sep 2022. https://github.com/nutanix/terraform-provider-nutanix/pull/496

I have a customer who is hitting the same issue and it's currently blocking their POC. Can somebody help to review this PR?

abhimutant commented 1 year ago

Fix merged in master !

johnnyf-hcp commented 1 year ago

Thanks @abhimutant, much appreciated!