Closed
Description
Terraform Version
Terraform v0.12.24
Affected Resource(s)
nutanix_virtual_machine
Terraform Configuration Files
Create VM with a disk that references an image:
resource "nutanix_virtual_machine" "MyVM_TF" {
for_each = toset(var.vm-name)
name = each.value
description = "Created by ${var.nutanix-user}"
cluster_uuid = var.cluster-uuid
num_vcpus_per_socket = 1
num_sockets = 4
memory_size_mib = 12288
nic_list {
subnet_uuid = var.vm-subnet-uuid
}
disk_list {
data_source_reference = {
kind = "image"
uuid = var.nutanix-image-uuid
}
}
}
Debug Output
None
Panic Output
None
Expected Behavior
The BIOS type is selected as UEFI
Actual Behavior
The BIOS type is selected as Legacy BIOS
Steps to Reproduce
Create a VM with an image
Check the properties of the VM
When creating a VM through terraform, I am unable to select the BIOS as UEFI. The created VM always has legacy BIOS selected.
Even in the documentation, I wasn't able to find any option to select the BIOS type.
Metadata
Assignees
Labels
No labels