You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a nutanix_virtual_machine resource without specifying the creation of a CDROM, but specifying guest_customization_cloud_init_user_data or guest_customization_sysprep
After creation, run terraform plan again
Observe a CDROM is present, which Terraform wants to destroy
Run terraform apply, and observe the VM is rebooted
Important Factors
This has happened using multiple different versions of Terraform, and with provider version 1.1.1 and 1.2.0, all against AOS 5.19.*. This is not present in 5.15 LTS, and we are yet to test 5.20 LTS.
The text was updated successfully, but these errors were encountered:
Switching from using the resource type of template_file to the built in templatefile for userdata fixed the issue for us - i didn't see anything about a CDROM being the culprit.
Nutanix Cluster Information
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Actual Behavior
After initial apply to create the VM, a plan would display the following:
Steps to Reproduce
nutanix_virtual_machine
resource without specifying the creation of a CDROM, but specifyingguest_customization_cloud_init_user_data
orguest_customization_sysprep
terraform plan
againterraform apply
, and observe the VM is rebootedImportant Factors
This has happened using multiple different versions of Terraform, and with provider version 1.1.1 and 1.2.0, all against AOS 5.19.*. This is not present in 5.15 LTS, and we are yet to test 5.20 LTS.
The text was updated successfully, but these errors were encountered: