terra-farm / terraform-provider-xenserver

XenServer provider for Terraform
https://terra-farm.github.io/provider-xenserver/
MIT License
73 stars 36 forks source link

Fix for #21. #23

Closed briantopping closed 6 years ago

briantopping commented 6 years ago

SetID was being called as soon as the VM was created, but a subsequent error caused the VM creation to be incomplete.

Moved the call to SetID after the resource was completely created and added Partial calls to record the changes that were in progress.