Telmate/terraform-provider-proxmox

panic: interface conversion: interface {} is string, not float64

wsd-thussain opened this issue · 4 comments

[root@build operation-tf-proxmox]# terraform apply
2024-07-03T23:39:32.201+0100 [INFO] Terraform version: 1.9.1
2024-07-03T23:39:32.201+0100 [DEBUG] using github.com/hashicorp/go-tfe v1.51.0
2024-07-03T23:39:32.201+0100 [DEBUG] using github.com/hashicorp/hcl/v2 v2.20.0
2024-07-03T23:39:32.201+0100 [DEBUG] using github.com/hashicorp/terraform-svchost v0.1.1
2024-07-03T23:39:32.201+0100 [DEBUG] using github.com/zclconf/go-cty v1.14.4
2024-07-03T23:39:32.201+0100 [INFO] Go runtime version: go1.22.4
2024-07-03T23:39:32.201+0100 [INFO] CLI args: []string{"terraform", "apply"}
2024-07-03T23:39:32.201+0100 [DEBUG] Attempting to open CLI config file: /root/.terraformrc
2024-07-03T23:39:32.201+0100 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2024-07-03T23:39:32.201+0100 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2024-07-03T23:39:32.201+0100 [DEBUG] ignoring non-existing provider search directory /root/.terraform.d/plugins
2024-07-03T23:39:32.201+0100 [DEBUG] ignoring non-existing provider search directory /root/.local/share/terraform/plugins
2024-07-03T23:39:32.201+0100 [DEBUG] ignoring non-existing provider search directory /usr/local/share/terraform/plugins
2024-07-03T23:39:32.201+0100 [DEBUG] ignoring non-existing provider search directory /usr/share/terraform/plugins
2024-07-03T23:39:32.201+0100 [INFO] CLI command args: []string{"apply"}
2024-07-03T23:39:32.269+0100 [DEBUG] checking for provisioner in "."
2024-07-03T23:39:32.271+0100 [DEBUG] checking for provisioner in "/usr/bin"
2024-07-03T23:39:32.272+0100 [INFO] backend/local: starting Apply operation
2024-07-03T23:39:32.273+0100 [DEBUG] created provider logger: level=debug
2024-07-03T23:39:32.273+0100 [INFO] provider: configuring client automatic mTLS
2024-07-03T23:39:32.286+0100 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/telmate/proxmox/2.9.14/linux_amd64/terraform-provider-proxmox_v2.9.14 args=[".terraform/providers/registry.terraform.io/telmate/proxmox/2.9.14/linux_amd64/terraform-provider-proxmox_v2.9.14"]
2024-07-03T23:39:32.286+0100 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/telmate/proxmox/2.9.14/linux_amd64/terraform-provider-proxmox_v2.9.14 pid=554671
2024-07-03T23:39:32.286+0100 [DEBUG] provider: waiting for RPC address: plugin=.terraform/providers/registry.terraform.io/telmate/proxmox/2.9.14/linux_amd64/terraform-provider-proxmox_v2.9.14
2024-07-03T23:39:32.290+0100 [INFO] provider.terraform-provider-proxmox_v2.9.14: configuring server automatic mTLS: timestamp="2024-07-03T23:39:32.290+0100"
2024-07-03T23:39:32.313+0100 [DEBUG] provider: using plugin: version=5
2024-07-03T23:39:32.313+0100 [DEBUG] provider.terraform-provider-proxmox_v2.9.14: plugin address: address=/tmp/plugin3811349114 network=unix timestamp="2024-07-03T23:39:32.313+0100"
2024-07-03T23:39:32.331+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-07-03T23:39:32.332+0100 [INFO] provider: plugin process exited: plugin=.terraform/providers/registry.terraform.io/telmate/proxmox/2.9.14/linux_amd64/terraform-provider-proxmox_v2.9.14 id=554671
2024-07-03T23:39:32.332+0100 [DEBUG] provider: plugin exited
2024-07-03T23:39:32.332+0100 [DEBUG] Building and walking validate graph
2024-07-03T23:39:32.333+0100 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/telmate/proxmox"], implied first by module.proxmox_vms.proxmox_vm_qemu.vm
2024-07-03T23:39:32.333+0100 [DEBUG] ProviderTransformer: "module.proxmox_vms.proxmox_vm_qemu.vm" (*terraform.NodeValidatableResource) needs module.proxmox_vms.provider["registry.terraform.io/telmate/proxmox"]
2024-07-03T23:39:32.333+0100 [DEBUG] pruning unused provider["registry.terraform.io/telmate/proxmox"]
2024-07-03T23:39:32.333+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.var.pm_password (expand)" references: []
2024-07-03T23:39:32.333+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.var.pm_tls_insecure (expand)" references: []
2024-07-03T23:39:32.333+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.var.pm_api_url (expand)" references: []
2024-07-03T23:39:32.333+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.output.vm_ids (expand)" references: [module.proxmox_vms.proxmox_vm_qemu.vm]
2024-07-03T23:39:32.333+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.output.vm_ips (expand)" references: [module.proxmox_vms.proxmox_vm_qemu.vm]
2024-07-03T23:39:32.333+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms (expand)" references: []
2024-07-03T23:39:32.333+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms (close)" references: []
2024-07-03T23:39:32.333+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.var.template (expand)" references: []
2024-07-03T23:39:32.333+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.var.bridge (expand)" references: []
2024-07-03T23:39:32.333+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.provider["registry.terraform.io/telmate/proxmox"]" references: [module.proxmox_vms.var.pm_tls_insecure (expand) module.proxmox_vms.var.pm_api_url (expand) module.proxmox_vms.var.pm_user (expand) module.proxmox_vms.var.pm_password (expand)]
2024-07-03T23:39:32.333+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.proxmox_vm_qemu.vm" references: [module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.target_node (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.template (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.bridge (expand)]
2024-07-03T23:39:32.333+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.var.pm_user (expand)" references: []
2024-07-03T23:39:32.333+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.var.target_node (expand)" references: []
2024-07-03T23:39:32.333+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.var.vms (expand)" references: []
2024-07-03T23:39:32.334+0100 [DEBUG] Starting graph walk: walkValidate
2024-07-03T23:39:32.335+0100 [DEBUG] created provider logger: level=debug
2024-07-03T23:39:32.335+0100 [INFO] provider: configuring client automatic mTLS
2024-07-03T23:39:32.340+0100 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/telmate/proxmox/2.9.14/linux_amd64/terraform-provider-proxmox_v2.9.14 args=[".terraform/providers/registry.terraform.io/telmate/proxmox/2.9.14/linux_amd64/terraform-provider-proxmox_v2.9.14"]
2024-07-03T23:39:32.340+0100 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/telmate/proxmox/2.9.14/linux_amd64/terraform-provider-proxmox_v2.9.14 pid=554681
2024-07-03T23:39:32.340+0100 [DEBUG] provider: waiting for RPC address: plugin=.terraform/providers/registry.terraform.io/telmate/proxmox/2.9.14/linux_amd64/terraform-provider-proxmox_v2.9.14
2024-07-03T23:39:32.345+0100 [INFO] provider.terraform-provider-proxmox_v2.9.14: configuring server automatic mTLS: timestamp="2024-07-03T23:39:32.345+0100"
2024-07-03T23:39:32.366+0100 [DEBUG] provider: using plugin: version=5
2024-07-03T23:39:32.366+0100 [DEBUG] provider.terraform-provider-proxmox_v2.9.14: plugin address: address=/tmp/plugin4053117393 network=unix timestamp="2024-07-03T23:39:32.366+0100"
2024-07-03T23:39:32.384+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-07-03T23:39:32.384+0100 [INFO] provider: plugin process exited: plugin=.terraform/providers/registry.terraform.io/telmate/proxmox/2.9.14/linux_amd64/terraform-provider-proxmox_v2.9.14 id=554681
2024-07-03T23:39:32.384+0100 [DEBUG] provider: plugin exited
2024-07-03T23:39:32.385+0100 [INFO] backend/local: apply calling Plan
2024-07-03T23:39:32.385+0100 [DEBUG] Building and walking plan graph for NormalMode
2024-07-03T23:39:32.385+0100 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/telmate/proxmox"], implied first by module.proxmox_vms.proxmox_vm_qemu.vm (expand)
2024-07-03T23:39:32.385+0100 [DEBUG] ProviderTransformer: "module.proxmox_vms.proxmox_vm_qemu.vm (expand)" (*terraform.nodeExpandPlannableResource) needs module.proxmox_vms.provider["registry.terraform.io/telmate/proxmox"]
2024-07-03T23:39:32.385+0100 [DEBUG] pruning unused provider["registry.terraform.io/telmate/proxmox"]
2024-07-03T23:39:32.385+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.provider["registry.terraform.io/telmate/proxmox"]" references: [module.proxmox_vms.var.pm_user (expand) module.proxmox_vms.var.pm_password (expand) module.proxmox_vms.var.pm_api_url (expand) module.proxmox_vms.var.pm_tls_insecure (expand)]
2024-07-03T23:39:32.385+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.var.pm_api_url (expand)" references: []
2024-07-03T23:39:32.385+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.var.pm_user (expand)" references: []
2024-07-03T23:39:32.385+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.var.pm_tls_insecure (expand)" references: []
2024-07-03T23:39:32.386+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.output.vm_ips (expand)" references: [module.proxmox_vms.proxmox_vm_qemu.vm (expand)]
2024-07-03T23:39:32.386+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms (close)" references: []
2024-07-03T23:39:32.386+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.var.vms (expand)" references: []
2024-07-03T23:39:32.386+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms (expand)" references: []
2024-07-03T23:39:32.386+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.var.target_node (expand)" references: []
2024-07-03T23:39:32.386+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.var.template (expand)" references: []
2024-07-03T23:39:32.386+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.var.bridge (expand)" references: []
2024-07-03T23:39:32.386+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.proxmox_vm_qemu.vm (expand)" references: [module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.template (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.target_node (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.bridge (expand)]
2024-07-03T23:39:32.386+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.var.pm_password (expand)" references: []
2024-07-03T23:39:32.386+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.output.vm_ids (expand)" references: [module.proxmox_vms.proxmox_vm_qemu.vm (expand)]
2024-07-03T23:39:32.387+0100 [DEBUG] Starting graph walk: walkPlan
2024-07-03T23:39:32.388+0100 [DEBUG] created provider logger: level=debug
2024-07-03T23:39:32.388+0100 [INFO] provider: configuring client automatic mTLS
2024-07-03T23:39:32.394+0100 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/telmate/proxmox/2.9.14/linux_amd64/terraform-provider-proxmox_v2.9.14 args=[".terraform/providers/registry.terraform.io/telmate/proxmox/2.9.14/linux_amd64/terraform-provider-proxmox_v2.9.14"]
2024-07-03T23:39:32.394+0100 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/telmate/proxmox/2.9.14/linux_amd64/terraform-provider-proxmox_v2.9.14 pid=554690
2024-07-03T23:39:32.394+0100 [DEBUG] provider: waiting for RPC address: plugin=.terraform/providers/registry.terraform.io/telmate/proxmox/2.9.14/linux_amd64/terraform-provider-proxmox_v2.9.14
2024-07-03T23:39:32.400+0100 [INFO] provider.terraform-provider-proxmox_v2.9.14: configuring server automatic mTLS: timestamp="2024-07-03T23:39:32.400+0100"
2024-07-03T23:39:32.424+0100 [DEBUG] provider: using plugin: version=5
2024-07-03T23:39:32.424+0100 [DEBUG] provider.terraform-provider-proxmox_v2.9.14: plugin address: address=/tmp/plugin951583830 network=unix timestamp="2024-07-03T23:39:32.424+0100"
2024-07-03T23:39:32.438+0100 [WARN] ValidateProviderConfig from "module.proxmox_vms.provider["registry.terraform.io/telmate/proxmox"]" changed the config value, but that value is unused
2024-07-03T23:39:32.474+0100 [DEBUG] Resource instance state not found for node "module.proxmox_vms.proxmox_vm_qemu.vm[1]", instance module.proxmox_vms.proxmox_vm_qemu.vm[1]
2024-07-03T23:39:32.474+0100 [DEBUG] Resource instance state not found for node "module.proxmox_vms.proxmox_vm_qemu.vm[0]", instance module.proxmox_vms.proxmox_vm_qemu.vm[0]
2024-07-03T23:39:32.474+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.proxmox_vm_qemu.vm[0]" references: []
2024-07-03T23:39:32.474+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.proxmox_vm_qemu.vm[1]" references: []
2024-07-03T23:39:32.475+0100 [DEBUG] refresh: module.proxmox_vms.proxmox_vm_qemu.vm[0]: no state, so not refreshing
2024-07-03T23:39:32.475+0100 [DEBUG] refresh: module.proxmox_vms.proxmox_vm_qemu.vm[1]: no state, so not refreshing
2024-07-03T23:39:32.481+0100 [WARN] Provider "registry.terraform.io/telmate/proxmox" produced an invalid plan for module.proxmox_vms.proxmox_vm_qemu.vm[0], but we are tolerating it because it is using the legacy plugin SDK.
The following problems may be the cause of any confusing errors from downstream operations:
- .tablet: planned value cty.True for a non-computed attribute
- .force_create: planned value cty.False for a non-computed attribute
- .define_connection_info: planned value cty.True for a non-computed attribute
- .preprovision: planned value cty.True for a non-computed attribute
- .vcpus: planned value cty.NumberIntVal(0) for a non-computed attribute
- .additional_wait: planned value cty.NumberIntVal(5) for a non-computed attribute
- .balloon: planned value cty.NumberIntVal(0) for a non-computed attribute
- .kvm: planned value cty.True for a non-computed attribute
- .full_clone: planned value cty.True for a non-computed attribute
- .onboot: planned value cty.False for a non-computed attribute
- .oncreate: planned value cty.True for a non-computed attribute
- .vlan: planned value cty.NumberIntVal(-1) for a non-computed attribute
- .automatic_reboot: planned value cty.True for a non-computed attribute
- .bios: planned value cty.StringVal("seabios") for a non-computed attribute
- .hotplug: planned value cty.StringVal("network,disk,usb") for a non-computed attribute
- .clone_wait: planned value cty.NumberIntVal(10) for a non-computed attribute
- .cpu: planned value cty.StringVal("host") for a non-computed attribute
- .guest_agent_ready_timeout: planned value cty.NumberIntVal(100) for a non-computed attribute
- .network[0].tag: planned value cty.NumberIntVal(-1) for a non-computed attribute
- .network[0].firewall: planned value cty.False for a non-computed attribute
- .network[0].link_down: planned value cty.False for a non-computed attribute
2024-07-03T23:39:32.481+0100 [WARN] Provider "registry.terraform.io/telmate/proxmox" produced an invalid plan for module.proxmox_vms.proxmox_vm_qemu.vm[1], but we are tolerating it because it is using the legacy plugin SDK.
The following problems may be the cause of any confusing errors from downstream operations:
- .guest_agent_ready_timeout: planned value cty.NumberIntVal(100) for a non-computed attribute
- .tablet: planned value cty.True for a non-computed attribute
- .force_create: planned value cty.False for a non-computed attribute
- .define_connection_info: planned value cty.True for a non-computed attribute
- .preprovision: planned value cty.True for a non-computed attribute
- .vcpus: planned value cty.NumberIntVal(0) for a non-computed attribute
- .additional_wait: planned value cty.NumberIntVal(5) for a non-computed attribute
- .balloon: planned value cty.NumberIntVal(0) for a non-computed attribute
- .kvm: planned value cty.True for a non-computed attribute
- .full_clone: planned value cty.True for a non-computed attribute
- .onboot: planned value cty.False for a non-computed attribute
- .oncreate: planned value cty.True for a non-computed attribute
- .vlan: planned value cty.NumberIntVal(-1) for a non-computed attribute
- .automatic_reboot: planned value cty.True for a non-computed attribute
- .bios: planned value cty.StringVal("seabios") for a non-computed attribute
- .hotplug: planned value cty.StringVal("network,disk,usb") for a non-computed attribute
- .clone_wait: planned value cty.NumberIntVal(10) for a non-computed attribute
- .cpu: planned value cty.StringVal("host") for a non-computed attribute
- .network[0].firewall: planned value cty.False for a non-computed attribute
- .network[0].tag: planned value cty.NumberIntVal(-1) for a non-computed attribute
- .network[0].link_down: planned value cty.False for a non-computed attribute
2024-07-03T23:39:32.483+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-07-03T23:39:32.485+0100 [INFO] provider: plugin process exited: plugin=.terraform/providers/registry.terraform.io/telmate/proxmox/2.9.14/linux_amd64/terraform-provider-proxmox_v2.9.14 id=554690
2024-07-03T23:39:32.486+0100 [DEBUG] provider: plugin exited
2024-07-03T23:39:32.486+0100 [DEBUG] building apply graph to check for errors
2024-07-03T23:39:32.486+0100 [DEBUG] Resource state not found for node "module.proxmox_vms.proxmox_vm_qemu.vm[0]", instance module.proxmox_vms.proxmox_vm_qemu.vm[0]
2024-07-03T23:39:32.486+0100 [DEBUG] Resource state not found for node "module.proxmox_vms.proxmox_vm_qemu.vm[1]", instance module.proxmox_vms.proxmox_vm_qemu.vm[1]
2024-07-03T23:39:32.486+0100 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/telmate/proxmox"], implied first by module.proxmox_vms.proxmox_vm_qemu.vm (expand)
2024-07-03T23:39:32.487+0100 [DEBUG] ProviderTransformer: "module.proxmox_vms.proxmox_vm_qemu.vm[0]" (*terraform.NodeApplyableResourceInstance) needs module.proxmox_vms.provider["registry.terraform.io/telmate/proxmox"]
2024-07-03T23:39:32.487+0100 [DEBUG] ProviderTransformer: "module.proxmox_vms.proxmox_vm_qemu.vm[1]" (*terraform.NodeApplyableResourceInstance) needs module.proxmox_vms.provider["registry.terraform.io/telmate/proxmox"]
2024-07-03T23:39:32.487+0100 [DEBUG] ProviderTransformer: "module.proxmox_vms.proxmox_vm_qemu.vm (expand)" (*terraform.nodeExpandApplyableResource) needs module.proxmox_vms.provider["registry.terraform.io/telmate/proxmox"]
2024-07-03T23:39:32.487+0100 [DEBUG] pruning unused provider["registry.terraform.io/telmate/proxmox"]
2024-07-03T23:39:32.487+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.var.bridge (expand)" references: []
2024-07-03T23:39:32.487+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.var.vms (expand)" references: []
2024-07-03T23:39:32.487+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.output.vm_ids (expand)" references: [module.proxmox_vms.proxmox_vm_qemu.vm (expand) module.proxmox_vms.proxmox_vm_qemu.vm[0] module.proxmox_vms.proxmox_vm_qemu.vm[1]]
2024-07-03T23:39:32.487+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.output.vm_ips (expand)" references: [module.proxmox_vms.proxmox_vm_qemu.vm (expand) module.proxmox_vms.proxmox_vm_qemu.vm[0] module.proxmox_vms.proxmox_vm_qemu.vm[1]]
2024-07-03T23:39:32.487+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms (expand)" references: []
2024-07-03T23:39:32.487+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.proxmox_vm_qemu.vm (expand)" references: [module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.target_node (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.template (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.bridge (expand)]
2024-07-03T23:39:32.487+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.var.pm_api_url (expand)" references: []
2024-07-03T23:39:32.487+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms (close)" references: []
2024-07-03T23:39:32.487+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.var.pm_password (expand)" references: []
2024-07-03T23:39:32.487+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.var.pm_tls_insecure (expand)" references: []
2024-07-03T23:39:32.487+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.var.target_node (expand)" references: []
2024-07-03T23:39:32.487+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.var.template (expand)" references: []
2024-07-03T23:39:32.488+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.proxmox_vm_qemu.vm[0]" references: [module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.template (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.target_node (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.bridge (expand)]
2024-07-03T23:39:32.488+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.proxmox_vm_qemu.vm[1]" references: [module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.target_node (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.template (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.bridge (expand)]
2024-07-03T23:39:32.488+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.provider["registry.terraform.io/telmate/proxmox"]" references: [module.proxmox_vms.var.pm_user (expand) module.proxmox_vms.var.pm_api_url (expand) module.proxmox_vms.var.pm_password (expand) module.proxmox_vms.var.pm_tls_insecure (expand)]
2024-07-03T23:39:32.488+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.var.pm_user (expand)" references: []
2024-07-03T23:39:32.488+0100 [DEBUG] pruneUnusedNodes: module.proxmox_vms.output.vm_ips (expand) is no longer needed, removing
2024-07-03T23:39:32.488+0100 [DEBUG] pruneUnusedNodes: module.proxmox_vms.output.vm_ids (expand) is no longer needed, removing

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:

module.proxmox_vms.proxmox_vm_qemu.vm[0] will be created

  • resource "proxmox_vm_qemu" "vm" {
    • additional_wait = 5

    • automatic_reboot = true

    • balloon = 0

    • bios = "seabios"

    • boot = (known after apply)

    • bootdisk = "scsi0"

    • clone = "CentOS-Stream-9-BaseOS-NodeJS2090"

    • 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)

    • ipconfig0 = "ip=x.x.x.x/24,gw=x.x.x.x"

    • kvm = true

    • memory = 20480

    • name = "SSXX-QLABCOM01"

    • nameserver = (known after apply)

    • onboot = false

    • oncreate = true

    • os_type = "cloud-init"

    • preprovision = true

    • reboot_required = (known after apply)

    • scsihw = "virtio-scsi-pci"

    • searchdomain = (known after apply)

    • sockets = 1

    • ssh_host = (known after apply)

    • ssh_port = (known after apply)

    • tablet = true

    • target_node = "Server01"

    • unused_disk = (known after apply)

    • vcpus = 0

    • vlan = -1

    • vmid = (known after apply)

    • network {

      • bridge = "vmbr883"
      • firewall = false
      • link_down = false
      • macaddr = (known after apply)
      • model = "virtio"
      • queues = (known after apply)
      • rate = (known after apply)
      • tag = -1
        }
        }

module.proxmox_vms.proxmox_vm_qemu.vm[1] will be created

  • resource "proxmox_vm_qemu" "vm" {
    • additional_wait = 5

    • automatic_reboot = true

    • balloon = 0

    • bios = "seabios"

    • boot = (known after apply)

    • bootdisk = "scsi0"

    • clone = "CentOS-Stream-9-BaseOS-NodeJS2090"

    • 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)

    • ipconfig0 = "ip=x.x.x.x/24,gw=x.x.x.x"

    • kvm = true

    • memory = 20480

    • name = "SSXX-QLABCOM02"

    • nameserver = (known after apply)

    • onboot = false

    • oncreate = true

    • os_type = "cloud-init"

    • preprovision = true

    • reboot_required = (known after apply)

    • scsihw = "virtio-scsi-pci"

    • searchdomain = (known after apply)

    • sockets = 1

    • ssh_host = (known after apply)

    • ssh_port = (known after apply)

    • tablet = true

    • target_node = "Server01C"

    • unused_disk = (known after apply)

    • vcpus = 0

    • vlan = -1

    • vmid = (known after apply)

    • network {

      • bridge = "vmbr883"
      • firewall = false
      • link_down = false
      • macaddr = (known after apply)
      • model = "virtio"
      • queues = (known after apply)
      • rate = (known after apply)
      • tag = -1
        }
        }

Plan: 2 to add, 0 to change, 0 to destroy.
2024-07-03T23:39:32.492+0100 [DEBUG] command: asking for input: "\nDo you want to perform these actions?"

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

2024-07-03T23:40:58.773+0100 [INFO] backend/local: apply calling Apply
2024-07-03T23:40:58.773+0100 [DEBUG] Building and walking apply graph for NormalMode plan
2024-07-03T23:40:58.774+0100 [DEBUG] Resource state not found for node "module.proxmox_vms.proxmox_vm_qemu.vm[0]", instance module.proxmox_vms.proxmox_vm_qemu.vm[0]
2024-07-03T23:40:58.774+0100 [DEBUG] Resource state not found for node "module.proxmox_vms.proxmox_vm_qemu.vm[1]", instance module.proxmox_vms.proxmox_vm_qemu.vm[1]
2024-07-03T23:40:58.774+0100 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/telmate/proxmox"], implied first by module.proxmox_vms.proxmox_vm_qemu.vm[1]
2024-07-03T23:40:58.774+0100 [DEBUG] ProviderTransformer: "module.proxmox_vms.proxmox_vm_qemu.vm[0]" (*terraform.NodeApplyableResourceInstance) needs module.proxmox_vms.provider["registry.terraform.io/telmate/proxmox"]
2024-07-03T23:40:58.774+0100 [DEBUG] ProviderTransformer: "module.proxmox_vms.proxmox_vm_qemu.vm[1]" (*terraform.NodeApplyableResourceInstance) needs module.proxmox_vms.provider["registry.terraform.io/telmate/proxmox"]
2024-07-03T23:40:58.774+0100 [DEBUG] ProviderTransformer: "module.proxmox_vms.proxmox_vm_qemu.vm (expand)" (*terraform.nodeExpandApplyableResource) needs module.proxmox_vms.provider["registry.terraform.io/telmate/proxmox"]
2024-07-03T23:40:58.774+0100 [DEBUG] pruning unused provider["registry.terraform.io/telmate/proxmox"]
2024-07-03T23:40:58.774+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms (close)" references: []
2024-07-03T23:40:58.775+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.var.vms (expand)" references: []
2024-07-03T23:40:58.775+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.var.pm_password (expand)" references: []
2024-07-03T23:40:58.775+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.var.pm_tls_insecure (expand)" references: []
2024-07-03T23:40:58.775+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.var.target_node (expand)" references: []
2024-07-03T23:40:58.775+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.output.vm_ids (expand)" references: [module.proxmox_vms.proxmox_vm_qemu.vm[0] module.proxmox_vms.proxmox_vm_qemu.vm (expand) module.proxmox_vms.proxmox_vm_qemu.vm[1]]
2024-07-03T23:40:58.775+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.var.template (expand)" references: []
2024-07-03T23:40:58.775+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.output.vm_ips (expand)" references: [module.proxmox_vms.proxmox_vm_qemu.vm[0] module.proxmox_vms.proxmox_vm_qemu.vm (expand) module.proxmox_vms.proxmox_vm_qemu.vm[1]]
2024-07-03T23:40:58.775+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms (expand)" references: []
2024-07-03T23:40:58.775+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.var.pm_api_url (expand)" references: []
2024-07-03T23:40:58.775+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.proxmox_vm_qemu.vm[0]" references: [module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.target_node (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.template (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.bridge (expand)]
2024-07-03T23:40:58.775+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.proxmox_vm_qemu.vm (expand)" references: [module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.template (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.target_node (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.bridge (expand)]
2024-07-03T23:40:58.775+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.var.pm_user (expand)" references: []
2024-07-03T23:40:58.775+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.var.bridge (expand)" references: []
2024-07-03T23:40:58.775+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.proxmox_vm_qemu.vm[1]" references: [module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.target_node (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.template (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.vms (expand) module.proxmox_vms.var.bridge (expand)]
2024-07-03T23:40:58.775+0100 [DEBUG] ReferenceTransformer: "module.proxmox_vms.provider["registry.terraform.io/telmate/proxmox"]" references: [module.proxmox_vms.var.pm_api_url (expand) module.proxmox_vms.var.pm_user (expand) module.proxmox_vms.var.pm_password (expand) module.proxmox_vms.var.pm_tls_insecure (expand)]
2024-07-03T23:40:58.776+0100 [DEBUG] pruneUnusedNodes: module.proxmox_vms.output.vm_ids (expand) is no longer needed, removing
2024-07-03T23:40:58.776+0100 [DEBUG] pruneUnusedNodes: module.proxmox_vms.output.vm_ips (expand) is no longer needed, removing
2024-07-03T23:40:58.776+0100 [DEBUG] Starting graph walk: walkApply
2024-07-03T23:40:58.777+0100 [DEBUG] created provider logger: level=debug
2024-07-03T23:40:58.777+0100 [INFO] provider: configuring client automatic mTLS
2024-07-03T23:40:58.783+0100 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/telmate/proxmox/2.9.14/linux_amd64/terraform-provider-proxmox_v2.9.14 args=[".terraform/providers/registry.terraform.io/telmate/proxmox/2.9.14/linux_amd64/terraform-provider-proxmox_v2.9.14"]
2024-07-03T23:40:58.783+0100 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/telmate/proxmox/2.9.14/linux_amd64/terraform-provider-proxmox_v2.9.14 pid=554701
2024-07-03T23:40:58.783+0100 [DEBUG] provider: waiting for RPC address: plugin=.terraform/providers/registry.terraform.io/telmate/proxmox/2.9.14/linux_amd64/terraform-provider-proxmox_v2.9.14
2024-07-03T23:40:58.788+0100 [INFO] provider.terraform-provider-proxmox_v2.9.14: configuring server automatic mTLS: timestamp="2024-07-03T23:40:58.788+0100"
2024-07-03T23:40:58.814+0100 [DEBUG] provider: using plugin: version=5
2024-07-03T23:40:58.814+0100 [DEBUG] provider.terraform-provider-proxmox_v2.9.14: plugin address: network=unix address=/tmp/plugin3344950665 timestamp="2024-07-03T23:40:58.814+0100"
2024-07-03T23:40:58.831+0100 [WARN] ValidateProviderConfig from "module.proxmox_vms.provider["registry.terraform.io/telmate/proxmox"]" changed the config value, but that value is unused
2024-07-03T23:40:58.884+0100 [WARN] Provider "registry.terraform.io/telmate/proxmox" produced an invalid plan for module.proxmox_vms.proxmox_vm_qemu.vm[0], but we are tolerating it because it is using the legacy plugin SDK.
The following problems may be the cause of any confusing errors from downstream operations:
- .vcpus: planned value cty.NumberIntVal(0) for a non-computed attribute
- .hotplug: planned value cty.StringVal("network,disk,usb") for a non-computed attribute
- .automatic_reboot: planned value cty.True for a non-computed attribute
- .preprovision: planned value cty.True for a non-computed attribute
- .guest_agent_ready_timeout: planned value cty.NumberIntVal(100) for a non-computed attribute
- .tablet: planned value cty.True for a non-computed attribute
- .force_create: planned value cty.False for a non-computed attribute
- .full_clone: planned value cty.True for a non-computed attribute
- .bios: planned value cty.StringVal("seabios") for a non-computed attribute
- .cpu: planned value cty.StringVal("host") for a non-computed attribute
- .clone_wait: planned value cty.NumberIntVal(10) for a non-computed attribute
- .onboot: planned value cty.False for a non-computed attribute
- .oncreate: planned value cty.True for a non-computed attribute
- .additional_wait: planned value cty.NumberIntVal(5) for a non-computed attribute
- .kvm: planned value cty.True for a non-computed attribute
- .vlan: planned value cty.NumberIntVal(-1) for a non-computed attribute
- .balloon: planned value cty.NumberIntVal(0) for a non-computed attribute
- .define_connection_info: planned value cty.True for a non-computed attribute
- .network[0].tag: planned value cty.NumberIntVal(-1) for a non-computed attribute
- .network[0].firewall: planned value cty.False for a non-computed attribute
- .network[0].link_down: planned value cty.False for a non-computed attribute
2024-07-03T23:40:58.885+0100 [WARN] Provider "registry.terraform.io/telmate/proxmox" produced an invalid plan for module.proxmox_vms.proxmox_vm_qemu.vm[1], but we are tolerating it because it is using the legacy plugin SDK.
The following problems may be the cause of any confusing errors from downstream operations:
- .oncreate: planned value cty.True for a non-computed attribute
- .additional_wait: planned value cty.NumberIntVal(5) for a non-computed attribute
- .kvm: planned value cty.True for a non-computed attribute
- .balloon: planned value cty.NumberIntVal(0) for a non-computed attribute
- .define_connection_info: planned value cty.True for a non-computed attribute
- .vlan: planned value cty.NumberIntVal(-1) for a non-computed attribute
- .vcpus: planned value cty.NumberIntVal(0) for a non-computed attribute
- .automatic_reboot: planned value cty.True for a non-computed attribute
- .hotplug: planned value cty.StringVal("network,disk,usb") for a non-computed attribute
- .guest_agent_ready_timeout: planned value cty.NumberIntVal(100) for a non-computed attribute
- .preprovision: planned value cty.True for a non-computed attribute
- .tablet: planned value cty.True for a non-computed attribute
- .bios: planned value cty.StringVal("seabios") for a non-computed attribute
- .force_create: planned value cty.False for a non-computed attribute
- .full_clone: planned value cty.True for a non-computed attribute
- .cpu: planned value cty.StringVal("host") for a non-computed attribute
- .clone_wait: planned value cty.NumberIntVal(10) for a non-computed attribute
- .onboot: planned value cty.False for a non-computed attribute
- .network[0].firewall: planned value cty.False for a non-computed attribute
- .network[0].link_down: planned value cty.False for a non-computed attribute
- .network[0].tag: planned value cty.NumberIntVal(-1) for a non-computed attribute
module.proxmox_vms.proxmox_vm_qemu.vm[0]: Creating...
2024-07-03T23:40:58.885+0100 [INFO] Starting apply for module.proxmox_vms.proxmox_vm_qemu.vm[0]
module.proxmox_vms.proxmox_vm_qemu.vm[1]: Creating...
2024-07-03T23:40:58.885+0100 [INFO] Starting apply for module.proxmox_vms.proxmox_vm_qemu.vm[1]
2024-07-03T23:40:58.885+0100 [DEBUG] module.proxmox_vms.proxmox_vm_qemu.vm[0]: applying the planned Create change
2024-07-03T23:40:58.886+0100 [DEBUG] module.proxmox_vms.proxmox_vm_qemu.vm[1]: applying the planned Create change
2024-07-03T23:40:58.890+0100 [INFO] provider.terraform-provider-proxmox_v2.9.14: 2024/07/03 23:40:58 [DEBUG] setting computed for "unused_disk" from ComputedKeys: timestamp="2024-07-03T23:40:58.890+0100"
2024-07-03T23:40:58.890+0100 [INFO] provider.terraform-provider-proxmox_v2.9.14: 2024/07/03 23:40:58 [DEBUG] setting computed for "unused_disk" from ComputedKeys: timestamp="2024-07-03T23:40:58.890+0100"
2024-07-03T23:40:58.891+0100 [INFO] provider.terraform-provider-proxmox_v2.9.14: 2024/07/03 23:40:58 [DEBUG][QemuVmCreate] checking for duplicate name: SSXX-QLABCOM01: timestamp="2024-07-03T23:40:58.891+0100"
2024-07-03T23:40:58.891+0100 [INFO] provider.terraform-provider-proxmox_v2.9.14: 2024/07/03 23:40:58 [DEBUG][QemuVmCreate] checking for duplicate name: SSXX-QLABCOM02: timestamp="2024-07-03T23:40:58.891+0100"
2024-07-03T23:40:58.926+0100 [INFO] provider.terraform-provider-proxmox_v2.9.14: 2024/07/03 23:40:58 [DEBUG][QemuVmCreate] cloning VM: timestamp="2024-07-03T23:40:58.926+0100"
2024-07-03T23:40:58.950+0100 [INFO] provider.terraform-provider-proxmox_v2.9.14: 2024/07/03 23:40:58 [DEBUG][QemuVmCreate] cloning VM: timestamp="2024-07-03T23:40:58.949+0100"
module.proxmox_vms.proxmox_vm_qemu.vm[0]: Still creating... [10s elapsed]
module.proxmox_vms.proxmox_vm_qemu.vm[1]: Still creating... [10s elapsed]
module.proxmox_vms.proxmox_vm_qemu.vm[0]: Still creating... [20s elapsed]
module.proxmox_vms.proxmox_vm_qemu.vm[1]: Still creating... [20s elapsed]
module.proxmox_vms.proxmox_vm_qemu.vm[0]: Still creating... [30s elapsed]
module.proxmox_vms.proxmox_vm_qemu.vm[1]: Still creating... [30s elapsed]
2024-07-03T23:41:33.129+0100 [DEBUG] provider.terraform-provider-proxmox_v2.9.14: panic: interface conversion: interface {} is string, not float64
2024-07-03T23:41:33.129+0100 [DEBUG] provider.terraform-provider-proxmox_v2.9.14
2024-07-03T23:41:33.129+0100 [DEBUG] provider.terraform-provider-proxmox_v2.9.14: goroutine 59 [running]:
2024-07-03T23:41:33.129+0100 [DEBUG] provider.terraform-provider-proxmox_v2.9.14: github.com/Telmate/proxmox-api-go/proxmox.NewConfigQemuFromApi(0xc00059c718, 0xc9d509?)
2024-07-03T23:41:33.129+0100 [DEBUG] provider.terraform-provider-proxmox_v2.9.14: github.com/Telmate/proxmox-api-go@v0.0.0-20230319185744-e7cde7198cdf/proxmox/config_qemu.go:584 +0x4605
2024-07-03T23:41:33.129+0100 [DEBUG] provider.terraform-provider-proxmox_v2.9.14: github.com/Telmate/terraform-provider-proxmox/proxmox.resourceVmQemuCreate(0xc000472400, {0xb66f60?, 0xc00051e190})
2024-07-03T23:41:33.129+0100 [DEBUG] provider.terraform-provider-proxmox_v2.9.14: github.com/Telmate/terraform-provider-proxmox/proxmox/resource_vm_qemu.go:972 +0x2c4d
2024-07-03T23:41:33.129+0100 [DEBUG] provider.terraform-provider-proxmox_v2.9.14: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).create(0xdd7840?, {0xdd7840?, 0xc000504000?}, 0xd?, {0xb66f60?, 0xc00051e190?})
2024-07-03T23:41:33.129+0100 [DEBUG] provider.terraform-provider-proxmox_v2.9.14: github.com/hashicorp/terraform-plugin-sdk/v2@v2.25.0/helper/schema/resource.go:695 +0x178
2024-07-03T23:41:33.129+0100 [DEBUG] provider.terraform-provider-proxmox_v2.9.14: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).Apply(0xc000160ee0, {0xdd7840, 0xc000504000}, 0xc0000c8000, 0xc000472200, {0xb66f60, 0xc00051e190})
2024-07-03T23:41:33.129+0100 [DEBUG] provider.terraform-provider-proxmox_v2.9.14: github.com/hashicorp/terraform-plugin-sdk/v2@v2.25.0/helper/schema/resource.go:837 +0xa85
2024-07-03T23:41:33.129+0100 [DEBUG] provider.terraform-provider-proxmox_v2.9.14: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ApplyResourceChange(0xc0003e5ea8, {0xdd7840?, 0xc0005ed1a0?}, 0xc0003f0aa0)
2024-07-03T23:41:33.129+0100 [DEBUG] provider.terraform-provider-proxmox_v2.9.14: github.com/hashicorp/terraform-plugin-sdk/v2@v2.25.0/helper/schema/grpc_provider.go:1021 +0xe8d
2024-07-03T23:41:33.129+0100 [DEBUG] provider.terraform-provider-proxmox_v2.9.14: github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).ApplyResourceChange(0xc0002703c0, {0xdd7840?, 0xc00050c2a0?}, 0xc00048a2a0)
2024-07-03T23:41:33.129+0100 [DEBUG] provider.terraform-provider-proxmox_v2.9.14: github.com/hashicorp/terraform-plugin-go@v0.14.3/tfprotov5/tf5server/server.go:818 +0x574
2024-07-03T23:41:33.129+0100 [DEBUG] provider.terraform-provider-proxmox_v2.9.14: github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ApplyResourceChange_Handler({0xc6bc20?, 0xc0002703c0}, {0xdd7840, 0xc00050c2a0}, 0xc00048a150, 0x0)
2024-07-03T23:41:33.129+0100 [DEBUG] provider.terraform-provider-proxmox_v2.9.14: github.com/hashicorp/terraform-plugin-go@v0.14.3/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:385 +0x170
2024-07-03T23:41:33.129+0100 [DEBUG] provider.terraform-provider-proxmox_v2.9.14: google.golang.org/grpc.(*Server).processUnaryRPC(0xc0002101e0, {0xddb420, 0xc00041e820}, 0xc0005f79e0, 0xc0003f3920, 0x128f7a0, 0x0)
2024-07-03T23:41:33.129+0100 [DEBUG] provider.terraform-provider-proxmox_v2.9.14: google.golang.org/grpc@v1.53.0/server.go:1336 +0xd23
2024-07-03T23:41:33.129+0100 [DEBUG] provider.terraform-provider-proxmox_v2.9.14: google.golang.org/grpc.(*Server).handleStream(0xc0002101e0, {0xddb420, 0xc00041e820}, 0xc0005f79e0, 0x0)
2024-07-03T23:41:33.129+0100 [DEBUG] provider.terraform-provider-proxmox_v2.9.14: google.golang.org/grpc@v1.53.0/server.go:1704 +0xa2f
2024-07-03T23:41:33.129+0100 [DEBUG] provider.terraform-provider-proxmox_v2.9.14: google.golang.org/grpc.(*Server).serveStreams.func1.2()
2024-07-03T23:41:33.130+0100 [DEBUG] provider.terraform-provider-proxmox_v2.9.14: google.golang.org/grpc@v1.53.0/server.go:965 +0x98
2024-07-03T23:41:33.130+0100 [DEBUG] provider.terraform-provider-proxmox_v2.9.14: created by google.golang.org/grpc.(*Server).serveStreams.func1
2024-07-03T23:41:33.130+0100 [DEBUG] provider.terraform-provider-proxmox_v2.9.14: google.golang.org/grpc@v1.53.0/server.go:963 +0x28a
2024-07-03T23:41:33.130+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-07-03T23:41:33.130+0100 [ERROR] provider: plugin process exited: plugin=.terraform/providers/registry.terraform.io/telmate/proxmox/2.9.14/linux_amd64/terraform-provider-proxmox_v2.9.14 id=554701 error="exit status 2"
2024-07-03T23:41:33.130+0100 [ERROR] plugin.(*GRPCProvider).ApplyResourceChange: error="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-07-03T23:41:33.130+0100 [ERROR] plugin.(*GRPCProvider).ApplyResourceChange: error="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-07-03T23:41:33.134+0100 [DEBUG] State storage *statemgr.Filesystem declined to persist a state snapshot
2024-07-03T23:41:33.134+0100 [ERROR] vertex "module.proxmox_vms.proxmox_vm_qemu.vm[1]" error: Plugin did not respond
2024-07-03T23:41:33.137+0100 [DEBUG] State storage *statemgr.Filesystem declined to persist a state snapshot
2024-07-03T23:41:33.137+0100 [ERROR] vertex "module.proxmox_vms.proxmox_vm_qemu.vm[0]" error: Plugin did not respond

│ Error: Plugin did not respond

│ with module.proxmox_vms.proxmox_vm_qemu.vm[1],
│ on modules/core_module/main.tf line 17, in resource "proxmox_vm_qemu" "vm":
│ 17: resource "proxmox_vm_qemu" "vm" {

│ The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ApplyResourceChange call. The plugin logs may contain more details.


│ Error: Plugin did not respond

│ with module.proxmox_vms.proxmox_vm_qemu.vm[0],
│ on modules/core_module/main.tf line 17, in resource "proxmox_vm_qemu" "vm":
│ 17: resource "proxmox_vm_qemu" "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 59 [running]:
github.com/Telmate/proxmox-api-go/proxmox.NewConfigQemuFromApi(0xc00059c718, 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(0xc000472400, {0xb66f60?, 0xc00051e190})
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?, 0xc000504000?}, 0xd?, {0xb66f60?, 0xc00051e190?})
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(0xc000160ee0, {0xdd7840, 0xc000504000}, 0xc0000c8000, 0xc000472200, {0xb66f60, 0xc00051e190})
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(0xc0003e5ea8, {0xdd7840?, 0xc0005ed1a0?}, 0xc0003f0aa0)
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(0xc0002703c0, {0xdd7840?, 0xc00050c2a0?}, 0xc00048a2a0)
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?, 0xc0002703c0}, {0xdd7840, 0xc00050c2a0}, 0xc00048a150, 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(0xc0002101e0, {0xddb420, 0xc00041e820}, 0xc0005f79e0, 0xc0003f3920, 0x128f7a0, 0x0)
google.golang.org/grpc@v1.53.0/server.go:1336 +0xd23
google.golang.org/grpc.(*Server).handleStream(0xc0002101e0, {0xddb420, 0xc00041e820}, 0xc0005f79e0, 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.

2024-07-03T23:41:33.141+0100 [DEBUG] provider: plugin exited

any help greatly appreciated

I don't know which one, but at least one of your number values should be surrounded by "" to become a string.

@wsd-thussain 2.x is currently broken, and fixing it requires breaking schanges see release 3.0RC3

thanks 3.0RC3 works fine thanks