Skip to content

Option not available to change the BIOS type #163

Closed
@harshit0921

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions