0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-07-05 21:43:59 +00:00
terraform-provider-proxmox/proxmoxtf/resource
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
..
cluster/firewall chore: cleanup resource validators & utility code (#438) 2023-07-20 19:58:19 -04:00
firewall chore: cleanup resource validators & utility code (#438) 2023-07-20 19:58:19 -04:00
validator chore: cleanup resource validators & utility code (#438) 2023-07-20 19:58:19 -04:00
certificate_test.go feat: API client cleanup and refactoring (#323) 2023-05-26 01:32:51 +00:00
certificate.go feat(vm): add network device resources (#376) 2023-06-23 22:47:25 +00:00
container_test.go feat(lxc): add support for lxc mount points (#394) 2023-07-16 20:41:07 -04:00
container.go chore: cleanup resource validators & utility code (#438) 2023-07-20 19:58:19 -04:00
dns_test.go feat: API client cleanup and refactoring (#323) 2023-05-26 01:32:51 +00:00
dns.go feat: add import support for a lot of resources (#390) 2023-07-04 21:37:14 -04:00
file_test.go feat(file): ensure upload of ISO/VSTMPL is completed upon resource creation (#471) 2023-08-10 11:01:14 -04:00
file.go fix(vm): default disk cache is not set to none if not specified for an existing disk (#478) 2023-08-10 19:27:22 +00:00
group_test.go feat: API client cleanup and refactoring (#323) 2023-05-26 01:32:51 +00:00
group.go feat: add import support for a lot of resources (#390) 2023-07-04 21:37:14 -04:00
hosts_test.go feat: API client cleanup and refactoring (#323) 2023-05-26 01:32:51 +00:00
hosts.go feat: add import support for a lot of resources (#390) 2023-07-04 21:37:14 -04:00
pool_test.go feat: API client cleanup and refactoring (#323) 2023-05-26 01:32:51 +00:00
pool.go feat: add import support for a lot of resources (#390) 2023-07-04 21:37:14 -04:00
role_test.go feat: API client cleanup and refactoring (#323) 2023-05-26 01:32:51 +00:00
role.go feat: add import support for a lot of resources (#390) 2023-07-04 21:37:14 -04:00
time_test.go feat: API client cleanup and refactoring (#323) 2023-05-26 01:32:51 +00:00
time.go feat: add import support for a lot of resources (#390) 2023-07-04 21:37:14 -04:00
user_test.go fix(user): make password attribute optional (#463) 2023-08-05 22:57:08 +00:00
user.go fix(user): make password attribute optional (#463) 2023-08-05 22:57:08 +00:00
vm_test.go feat(vm): support for non-default CloudInit interface and CloudInit storage change (#486) 2023-08-13 09:55:38 -04:00
vm.go feat(vm): pool update support (#505) 2023-08-18 21:48:37 -04:00