Closed gfenn-newbury closed 3 years ago
Is there any update on this?
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.