-
Notifications
You must be signed in to change notification settings - Fork 478
Description
Description
Hi there,
I've created a template using Packer with three attached NVME disks.
When I try to run Terraform for deploying an instance using this template, I get the message:
Error: there must be at least one disk specified
It seems that Terraform is not able to find the NVME disks attached (since the only opinions are pvscsi, buslogic, etc, but none NVME), even though I add an extra_config informing NVME is presenting:
disk_size_gb = var.vmRootDiskSize
scsi_type = var.vmScsiType
extra_config = {
"nvme0.present" = "True"
"nvme0.0.present" = "True"
PS: If we deploy a new instance using the Template manually, the instance boots up as expected.
References
As per the documentation, scsi_type NVME is not supported.
https://registry.terraform.io/providers/hashicorp/vsphere/latest/docs/resources/virtual_machine#scsi_type
Community Note
Is the support for NVME on the roadmap (or maybe there's a workaround for now)?
Thanks for any suggestion or advice,
Hutger
