Closed Tinyblargon closed 8 months ago
When the cloud-init disk already exists the disk id can't be changed. This is because we are adding a new cloud-init disk in the same API call that removes to old one. To fix this a disk delete step should be added in this block: https://github.com/Telmate/proxmox-api-go/blob/cd419d1e45db3a4aa25ca0a20bbe26d9b0428aad/proxmox/config_qemu.go#L857-L878
cloud-init
This is related to: https://github.com/Telmate/terraform-provider-proxmox/issues/901
When the
cloud-init
disk already exists the disk id can't be changed. This is because we are adding a newcloud-init
disk in the same API call that removes to old one. To fix this a disk delete step should be added in this block: https://github.com/Telmate/proxmox-api-go/blob/cd419d1e45db3a4aa25ca0a20bbe26d9b0428aad/proxmox/config_qemu.go#L857-L878This is related to: https://github.com/Telmate/terraform-provider-proxmox/issues/901