Vsphere 8
Terraform v1.4.5
Error: error reconfiguring virtual machine: error processing disk changes post-clone: disk.0: ServerFaultCode: NoPermission: RESOURCE (vm-10197:2000), ACTION (queryAssociatedProfile): RESOURCE (vm-10197), ACTION (PolicyIDByVirtualDisk)
│
│ with vsphere_virtual_machine.vm,
│ on main.tf line 45, in resource “vsphere_virtual_machine” “vm”:
│ 45: resource “vsphere_virtual_machine” “vm” {
We do not use Storage Profiles in our vsphere setup. Is there a way to tell terraform to skip doing the queryAssociatedProfile?
This setup worked fine in our vSphere 7 setup. We just upgraded to 8.
I’ve tried setting storage_policy_id to 0 and null under “resource “vsphere_virtual_machine” “vm” {” and under each “disk {” with no luck.
Any suggestions?
Thanks,
-Matt