0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-07-04 04:22:59 +00:00
terraform-provider-proxmox/proxmoxtf/resource
Oto Petřík d1d7bd39c7
fix(vm): set FileVolume for disks with file_id (#635)
Disks imported using `file_id` argument do not have FileVolume set,
that makes PathInDatastore return an empty string, which makes
IsOwnedBy return fales for any vm id.

The end result is the inability to resize imported disks,
this fixes it.

Signed-off-by: Oto Petřík <oto.petrik@gmail.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-10-22 15:15:44 +00:00
..
cluster/firewall chore(code): fix proxmox package dependencies (#536) 2023-09-03 00:40:47 +00:00
firewall chore(code): fix proxmox package dependencies (#536) 2023-09-03 00:40:47 +00:00
validator fet(vm): allow scsi and sata interfaces for CloudInit Drive (#598) 2023-10-01 22:23:11 -04:00
certificate_test.go feat: API client cleanup and refactoring (#323) 2023-05-26 01:32:51 +00:00
certificate.go chore(code): fix proxmox package dependencies (#536) 2023-09-03 00:40:47 +00:00
container_test.go feat(lxc): add support for the start_on_boot option (#605) 2023-10-07 20:08:09 -04:00
container.go fix(lxc): cloned container does not start by default (#615) 2023-10-10 01:20:01 +00: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): FORMAT CHANGE: update import id, so it matches the resource's format: <node_name>/<datastore_id>:<content_type>/<file> (#543) 2023-09-04 20:29:58 +00:00
file.go feat(provider): configure temp directory (#607) 2023-10-07 21:00:34 -04:00
group_test.go feat: API client cleanup and refactoring (#323) 2023-05-26 01:32:51 +00:00
group.go chore(code): fix proxmox package dependencies (#536) 2023-09-03 00:40:47 +00: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 chore(code): fix proxmox package dependencies (#536) 2023-09-03 00:40:47 +00: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 chore(code): fix proxmox package dependencies (#536) 2023-09-03 00:40:47 +00:00
vm_test.go feat(vm): add 'path_in_datastore' disk argument (#606) 2023-10-11 22:13:09 -04:00
vm.go fix(vm): set FileVolume for disks with file_id (#635) 2023-10-22 15:15:44 +00:00