Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terraform Import - Issue with EFI Disk #1099

Open
data-tangles opened this issue Sep 7, 2024 · 0 comments
Open

Terraform Import - Issue with EFI Disk #1099

data-tangles opened this issue Sep 7, 2024 · 0 comments

Comments

@data-tangles
Copy link

Good day,

Firstly, thank you for providing this plugin.

I've recently moved over from ESXi and migrated to Proxmox. I am now ready to import the migrated workloads into Terraform state for ongoing management.

I am going through the import operations but am having some issues with EFI disk imports. The current VM in the Proxmox GUI is configured with the following parameters:

EFI Disk ---------------- VM-240GB-SSD:vm-101-disk-0,efitype=4m,pre-enrolled-keys=1,size=4M

In my proxmox_vm_qemu resource definition I have the following config for the efidisk resource

  efidisk {
    efitype = "4m"
    storage = "VM-240GB-SSD"
  }

When running a plan operation it seems to want to force replacement of the entire VM due to the efidisk resource:

+ efidisk {
   + efitype = "4m" # forces replacement
   + storage = "VM-240GB-SSD" # forces replacement
}

I did find this issue from a different Teraform provider project: bpg/terraform-provider-proxmox#1515

Perhaps this is a limitation of Proxmox itself then?

Thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants