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
[Provide a clear and concise description of the issue]
Steps to Reproduce
Using the code in boilerplates/terraform/proxmox
Replaced variables as needed
Code passed terraform fmt and terraform validate commands.
Ran terraform apply
Expected Behavior
I expected the Terraform code to successfully and without error, deploy one new VM in my Proxmox host.
Actual Behavior
While the VM is created in Proxmox, however Terraform crashes before completion and State is not available.
│ Error: Plugin did not respond
│
│ with proxmox_vm_qemu.your-vm,
│ on full-clone.tf line 5, in resource "proxmox_vm_qemu""your-vm":
│ 5: resource "proxmox_vm_qemu""your-vm" {
│
│ 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 86 [running]:
github.com/Telmate/proxmox-api-go/proxmox.NewConfigQemuFromApi(0x140003ce6e0, 0x101462ab6?)
github.com/Telmate/[email protected]/proxmox/config_qemu.go:584 +0x3b34
github.com/Telmate/terraform-provider-proxmox/proxmox.resourceVmQemuCreate(0x14000139380, {0x1015ddee0?, 0x14000047c20})
github.com/Telmate/terraform-provider-proxmox/proxmox/resource_vm_qemu.go:972 +0x21cc
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).create(0x10171a9a0?, {0x10171a9a0?, 0x14000381770?}, 0xd?, {0x1015ddee0?, 0x14000047c20?})
github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/resource.go:695 +0x134
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).Apply(0x140001f6ee0, {0x10171a9a0, 0x14000381770}, 0x14000119380, 0x14000139200, {0x1015ddee0, 0x14000047c20})
github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/resource.go:837 +0x86c
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ApplyResourceChange(0x1400047df50, {0x10171a9a0?, 0x14000381650?}, 0x140000948c0)
github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/grpc_provider.go:1021 +0xb70
github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).ApplyResourceChange(0x14000340320, {0x10171a9a0?, 0x14000380690?}, 0x140001f0070)
github.com/hashicorp/[email protected]/tfprotov5/tf5server/server.go:818 +0x3b8
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ApplyResourceChange_Handler({0x1016e3a60?, 0x14000340320}, {0x10171a9a0, 0x14000380690}, 0x140001f0000, 0x0)
github.com/hashicorp/[email protected]/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:385 +0x170
google.golang.org/grpc.(*Server).processUnaryRPC(0x140002c41e0, {0x10171e540, 0x1400008a4e0}, 0x140005a4000, 0x1400048b860, 0x101bbb860, 0x0)
google.golang.org/[email protected]/server.go:1336 +0xb7c
google.golang.org/grpc.(*Server).handleStream(0x140002c41e0, {0x10171e540, 0x1400008a4e0}, 0x140005a4000, 0x0)
google.golang.org/[email protected]/server.go:1704 +0x82c
google.golang.org/grpc.(*Server).serveStreams.func1.2()
google.golang.org/[email protected]/server.go:965 +0x84
created by google.golang.org/grpc.(*Server).serveStreams.func1
google.golang.org/[email protected]/server.go:963 +0x290
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 itcan be fixed. The output above should help diagnose the issue.
Screenshots
[If applicable, add screenshots to help explain the issue]
Additional Information
I have tested this with Terraform installed from Brew and the Terraform binary
Environment
macOS Sequoia 15.1.1
Terraform v1.9.8
on darwin_arm64
ChristianLempa
changed the title
Boilierplate Terraform+Proxmox code crashes Terraform with terraform-provider-proxmox_v2.9.14
Boilerplate Terraform+Proxmox code crashes Terraform with terraform-provider-proxmox_v2.9.14
Dec 6, 2024
Description
[Provide a clear and concise description of the issue]
Steps to Reproduce
terraform fmt
andterraform validate
commands.terraform apply
Expected Behavior
I expected the Terraform code to successfully and without error, deploy one new VM in my Proxmox host.
Actual Behavior
While the VM is created in Proxmox, however Terraform crashes before completion and State is not available.
Screenshots
[If applicable, add screenshots to help explain the issue]
Additional Information
I have tested this with Terraform installed from Brew and the Terraform binary
Environment
macOS Sequoia 15.1.1
Terraform v1.9.8
on darwin_arm64
The text was updated successfully, but these errors were encountered: