bpg / terraform-provider-proxmox

Terraform Provider for Proxmox
https://registry.terraform.io/providers/bpg/proxmox
Mozilla Public License 2.0
574 stars 103 forks source link

☂️ Migrate VM resource implementation to Plugin Framework #1231

Open bpg opened 3 weeks ago

bpg commented 3 weeks ago

This is an "umbrella" ticket (call it an epic, or whatever) to track the migration of the proxmox_virtual_environment_vm resource to the Plugin Framework.

Motivation

Check out the benefits of Plugin Framework from HashiCorp. There are quite a lot.

Specific to this provider:

Challenges

Compatibility

Inevitably, some attribute formats and semantics will be incompatible with the old version. Also, some attributes will be renamed/removed. Known incompatibilities are marked with :exclamation: below.

Implementation

The proxmox_virtual_environment_vm2 resource contains the new implementation.

Status of features/attributes:

sergelogvinov commented 3 weeks ago

Hi, i think that we need to add reboot flag. which allow/skip rebooting the VM if it needed after changes. (Currently, I usually comment out the reboot block in the code...)

Thanks.