You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Hello,
trying to create a new virtual machine with "none" or "virgl" as vga type, causes a validation problem.
Here is an example error:
Planning failed. Terraform encountered an error while generating this plan.
╷
│ Error: expected type to be one of ["cirrus" "qxl" "qxl2" "qxl3" "qxl4" "serial0" "serial1" "serial2" "serial3" "std" "virtio" "vmware"], got none
│
│ with proxmox_virtual_environment_vm.ubuntu_vm,
│ on main.tf line 17, in resource "proxmox_virtual_environment_vm" "ubuntu_vm":
│ 17: type = var.vm_vga_type
│
To Reproduce
simply declare a vga type as "none" or "virgl".
There is a vga.enabled attribute, which, when set to false, is equivalent to type="none". However, I found it unreliable in my testing, so I marked it as deprecated and added none to the available types list.
Describe the bug
Hello,
trying to create a new virtual machine with "none" or "virgl" as vga type, causes a validation problem.
Here is an example error:
Planning failed. Terraform encountered an error while generating this plan.
╷
│ Error: expected type to be one of ["cirrus" "qxl" "qxl2" "qxl3" "qxl4" "serial0" "serial1" "serial2" "serial3" "std" "virtio" "vmware"], got none
│
│ with proxmox_virtual_environment_vm.ubuntu_vm,
│ on main.tf line 17, in resource "proxmox_virtual_environment_vm" "ubuntu_vm":
│ 17: type = var.vm_vga_type
│
To Reproduce
simply declare a vga type as "none" or "virgl".
Expected behavior
Create the virtual machine
Additional context
Versions:
Thanks in advance,
Leonardo.
The text was updated successfully, but these errors were encountered: