# terraform plan Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: + create Terraform will perform the following actions: # proxmox_vm_qemu.gvm will be created + resource "proxmox_vm_qemu" "gvm" { + additional_wait = 5 + automatic_reboot = true + balloon = 0 + bios = "seabios" + boot = (known after apply) + bootdisk = (known after apply) + clone = "almalinux9" + clone_wait = 10 + cores = 2 + cpu = "host" + default_ipv4_address = (known after apply) + define_connection_info = true + force_create = false + full_clone = true + guest_agent_ready_timeout = 100 + hotplug = "network,disk,usb" + id = (known after apply) + kvm = true + memory = 2048 + name = "terra-server" + nameserver = (known after apply) + onboot = false + oncreate = true + preprovision = true + reboot_required = (known after apply) + scsihw = "lsi" + searchdomain = (known after apply) + sockets = 1 + ssh_host = (known after apply) + ssh_port = (known after apply) + tablet = true + target_node = "buraq" + unused_disk = (known after apply) + vcpus = 0 + vlan = -1 + vmid = (known after apply) + disk { + backup = true + cache = "none" + file = (known after apply) + format = (known after apply) + iops = 0 + iops_max = 0 + iops_max_length = 0 + iops_rd = 0 + iops_rd_max = 0 + iops_rd_max_length = 0 + iops_wr = 0 + iops_wr_max = 0 + iops_wr_max_length = 0 + iothread = 0 + mbps = 0 + mbps_rd = 0 + mbps_rd_max = 0 + mbps_wr = 0 + mbps_wr_max = 0 + media = (known after apply) + replicate = 0 + size = "100G" + slot = (known after apply) + ssd = 0 + storage = "local-lvm" + storage_type = (known after apply) + type = "virtio" + volume = (known after apply) } } Plan: 1 to add, 0 to change, 0 to destroy. ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── Note: You didn't use the -out option to save this plan, so Terraform can't guarantee to take exactly these actions if you run "terraform apply" now. # terraform apply Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: + create Terraform will perform the following actions: # proxmox_vm_qemu.gvm will be created + resource "proxmox_vm_qemu" "gvm" { + additional_wait = 5 + automatic_reboot = true + balloon = 0 + bios = "seabios" + boot = (known after apply) + bootdisk = (known after apply) + clone = "almalinux9" + clone_wait = 10 + cores = 2 + cpu = "host" + default_ipv4_address = (known after apply) + define_connection_info = true + force_create = false + full_clone = true + guest_agent_ready_timeout = 100 + hotplug = "network,disk,usb" + id = (known after apply) + kvm = true + memory = 2048 + name = "terra-server" + nameserver = (known after apply) + onboot = false + oncreate = true + preprovision = true + reboot_required = (known after apply) + scsihw = "lsi" + searchdomain = (known after apply) + sockets = 1 + ssh_host = (known after apply) + ssh_port = (known after apply) + tablet = true + target_node = "buraq" + unused_disk = (known after apply) + vcpus = 0 + vlan = -1 + vmid = (known after apply) + disk { + backup = true + cache = "none" + file = (known after apply) + format = (known after apply) + iops = 0 + iops_max = 0 + iops_max_length = 0 + iops_rd = 0 + iops_rd_max = 0 + iops_rd_max_length = 0 + iops_wr = 0 + iops_wr_max = 0 + iops_wr_max_length = 0 + iothread = 0 + mbps = 0 + mbps_rd = 0 + mbps_rd_max = 0 + mbps_wr = 0 + mbps_wr_max = 0 + media = (known after apply) + replicate = 0 + size = "100G" + slot = (known after apply) + ssd = 0 + storage = "local-lvm" + storage_type = (known after apply) + type = "virtio" + volume = (known after apply) } } Plan: 1 to add, 0 to change, 0 to destroy. Do you want to perform these actions? Terraform will perform the actions described above. Only 'yes' will be accepted to approve. Enter a value: yes proxmox_vm_qemu.gvm: Creating... proxmox_vm_qemu.gvm: Still creating... [10s elapsed] proxmox_vm_qemu.gvm: Still creating... [20s elapsed] proxmox_vm_qemu.gvm: Still creating... [30s elapsed] proxmox_vm_qemu.gvm: Still creating... [40s elapsed] proxmox_vm_qemu.gvm: Still creating... [50s elapsed] proxmox_vm_qemu.gvm: Still creating... [1m0s elapsed] proxmox_vm_qemu.gvm: Still creating... [1m10s elapsed] proxmox_vm_qemu.gvm: Still creating... [1m20s elapsed] proxmox_vm_qemu.gvm: Still creating... [1m30s elapsed] proxmox_vm_qemu.gvm: Still creating... [1m40s elapsed] proxmox_vm_qemu.gvm: Still creating... [1m50s elapsed] proxmox_vm_qemu.gvm: Still creating... [2m0s elapsed] proxmox_vm_qemu.gvm: Still creating... [2m10s elapsed] ╷ │ Error: Plugin did not respond │ │ with proxmox_vm_qemu.gvm, │ on main.tf line 17, in resource "proxmox_vm_qemu" "gvm": │ 17: resource "proxmox_vm_qemu" "gvm" { │ │ The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ApplyResourceChange call. The plugin logs may contain more │ details. ╵ Stack trace from the terraform-provider-proxmox_v2.9.14 plugin: panic: interface conversion: interface {} is string, not float64 goroutine 98 [running]: github.com/Telmate/proxmox-api-go/proxmox.NewConfigQemuFromApi(0xc00021e718, 0xc9d509?) github.com/Telmate/proxmox-api-go@v0.0.0-20230319185744-e7cde7198cdf/proxmox/config_qemu.go:584 +0x4605 github.com/Telmate/terraform-provider-proxmox/proxmox.resourceVmQemuCreate(0xc00032e780, {0xb66f60?, 0xc0005220f0}) github.com/Telmate/terraform-provider-proxmox/proxmox/resource_vm_qemu.go:972 +0x2c4d github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).create(0xdd7840?, {0xdd7840?, 0xc00037af30?}, 0xd?, {0xb66f60?, 0xc0005220f0?}) github.com/hashicorp/terraform-plugin-sdk/v2@v2.25.0/helper/schema/resource.go:695 +0x178 github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).Apply(0xc0003ce7e0, {0xdd7840, 0xc00037af30}, 0xc0000bdad0, 0xc00032e600, {0xb66f60, 0xc0005220f0}) github.com/hashicorp/terraform-plugin-sdk/v2@v2.25.0/helper/schema/resource.go:837 +0xa85 github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ApplyResourceChange(0xc000458b70, {0xdd7840?, 0xc00037ae10?}, 0xc0005224b0) github.com/hashicorp/terraform-plugin-sdk/v2@v2.25.0/helper/schema/grpc_provider.go:1021 +0xe8d github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).ApplyResourceChange(0xc0001303c0, {0xdd7840?, 0xc00037a240?}, 0xc000216070) github.com/hashicorp/terraform-plugin-go@v0.14.3/tfprotov5/tf5server/server.go:818 +0x574 github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ApplyResourceChange_Handler({0xc6bc20?, 0xc0001303c0}, {0xdd7840, 0xc00037a240}, 0xc000216000, 0x0) github.com/hashicorp/terraform-plugin-go@v0.14.3/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:385 +0x170 google.golang.org/grpc.(*Server).processUnaryRPC(0xc000472000, {0xddb420, 0xc000314680}, 0xc00060e120, 0xc000474c30, 0x128f7a0, 0x0) google.golang.org/grpc@v1.53.0/server.go:1336 +0xd23 google.golang.org/grpc.(*Server).handleStream(0xc000472000, {0xddb420, 0xc000314680}, 0xc00060e120, 0x0) google.golang.org/grpc@v1.53.0/server.go:1704 +0xa2f google.golang.org/grpc.(*Server).serveStreams.func1.2() google.golang.org/grpc@v1.53.0/server.go:965 +0x98 created by google.golang.org/grpc.(*Server).serveStreams.func1 google.golang.org/grpc@v1.53.0/server.go:963 +0x28a Error: The terraform-provider-proxmox_v2.9.14 plugin crashed! This is always indicative of a bug within the plugin. It would be immensely helpful if you could report the crash with the plugin's maintainers so that it can be fixed. The output above should help diagnose the issue.