Is your feature request related to a problem? Please describe.
We are creating database VM's using Terraform with the Nutanix provider 1.7.1. These VMs require to have their disks shared between them. So we have to create the volume groups manually and then attach the VM's previously created with Terraform. But everytime we need to make a change in any other VM, Terraform detects there is a change on the DB VM's but cannot be changed/deleted as it's attached to a volume group. And in case we want to modify one of the DB machines, we need to detach them from the volume group, modify and then re-attach. Otherwise we get this error:
│ Error: error waiting for vm (a05b63aa-6683-4a36-a2a8-8519471b87da) to delete: error_detail: INVALID_ARGUMENT: Invalid Argument: 6
│ :Volume group at scsi.1 must be detached before deleting VM., progress_message: delete_vm
Describe the solution you'd like
To create the volume groups on Terraform, be able to attach the VMs, assign the letter drives and the size for each one of the drives.
Describe alternatives you've considered
To use the volume group resource from provider version 1.2.0 and add a feature on the virtual machine resource to select an existing volume group for the VM to be attached to and also asking for a disk block for the drive letters and size.
Is your feature request related to a problem? Please describe. We are creating database VM's using Terraform with the Nutanix provider 1.7.1. These VMs require to have their disks shared between them. So we have to create the volume groups manually and then attach the VM's previously created with Terraform. But everytime we need to make a change in any other VM, Terraform detects there is a change on the DB VM's but cannot be changed/deleted as it's attached to a volume group. And in case we want to modify one of the DB machines, we need to detach them from the volume group, modify and then re-attach. Otherwise we get this error:
│ Error: error waiting for vm (a05b63aa-6683-4a36-a2a8-8519471b87da) to delete: error_detail: INVALID_ARGUMENT: Invalid Argument: 6 │ :Volume group at scsi.1 must be detached before deleting VM., progress_message: delete_vm
Describe the solution you'd like To create the volume groups on Terraform, be able to attach the VMs, assign the letter drives and the size for each one of the drives.
Describe alternatives you've considered To use the volume group resource from provider version 1.2.0 and add a feature on the virtual machine resource to select an existing volume group for the VM to be attached to and also asking for a disk block for the drive letters and size.
Additional context