Open zuka1337 opened 1 month ago
Adding vmid field solve the issue, but is not practical if we use multiple terraform projects. It is nonsense to map vmid each time you create a new vm:
Got into the same issue, currently running with
provider "proxmox" {
pm_parallel = 1
# ...
}
I know this slows down the whole process since its not running anything in parallel any more, but at least it is usable until this has been fixed.
@zuka1337 for now the solution is what @hayer suggests. The treading at the core of the provider needs to be reworked.
Probably best for now to make pm_parrallel
default to 1
, and put a warning in the description that setting it higher causes issues in certain scenarios.
Tring to create 4 machines. Terraform apply try to create all 4 with the same id and it fails:
Simple example, there is also a second part of the "loop" to create other two machines.