Closed jsaalfeld closed 8 months ago
This issue is stale because it has been open for 60 days with no activity. Please update the provider to the latest version and, in the issue persist, provide full configuration and debug logs
The Issue Persist with the currently latest Proxmox, Terraform und Provider-Version.
This issue is stale because it has been open for 60 days with no activity. Please update the provider to the latest version and, in the issue persist, provide full configuration and debug logs
not stale
This issue is stale because it has been open for 60 days with no activity. Please update the provider to the latest version and, in the issue persist, provide full configuration and debug logs
Stale not
This issue is stale because it has been open for 60 days with no activity. Please update the provider to the latest version and, in the issue persist, provide full configuration and debug logs
Please disable this bot
This issue is stale because it has been open for 60 days with no activity. Please update the provider to the latest version and, in the issue persist, provide full configuration and debug logs
This issue was closed because it has been inactive for 5 days since being marked as stale.
Still happens.
Create new Virtual Machine in Proxmox (without Terraform!):
Use these steps to avoid https://github.com/Telmate/terraform-provider-proxmox/issues/744
ide0
on the same target as the usual Diskscsi0
and re-attach atscsi1
ide2
with any image you like (I will use Debian 11.6 Netinst)qemu-guest-agent
andcloud-init
!Go to your local console and create a new directory and add the
main.tf
:And now - Import!:
first of all, remove the entries, that are only information sources and can't be set:
Maybe change the network, since sometimes the network bridge is off.
Verify your lokal state:
And now check for the attributes (https://registry.terraform.io/providers/Telmate/proxmox/latest/docs/resources/vm_qemu#attribute-reference):
The IP Adress will be listed fine in your machine overview and can be hard-coded into the Cloud-Init file. But it won't show up as a resource.
You will encounter this issue only, when you import a machine. When the machine is created via terraform, the attributes will be pulled correctly.
This was tested with Proxmox 7.3 and Terraform 1.4.4.