0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-07-06 05:53:58 +00:00
terraform-provider-proxmox/proxmox/pools
Emmanuel Benoît e6c15eccc6
feat(vm): pool update support (#505)
* feat(vm): pool update support

This commit removed the ForceNew flag from the VM resource's `pool_id`
argument and implements pool update:

  * if the VM was part of a pool, it is removed from it,
  * if the new `pool_id` value is non-empty, the VM is added to that new
    pool.

* fix: use `types.CustomCommaSeparatedList` in `PoolUpdateRequestBody` datatype, minor error fix

---------

Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-08-18 21:48:37 -04:00
..
client.go feat: API client cleanup and refactoring (#323) 2023-05-26 01:32:51 +00:00
pool_types.go feat(vm): pool update support (#505) 2023-08-18 21:48:37 -04:00
pool.go feat: API client cleanup and refactoring (#323) 2023-05-26 01:32:51 +00:00