vatesfr / terraform-provider-xenorchestra

Xen Orchestra provider for Terraform
MIT License
151 stars 32 forks source link

Unmarshal error destroying vm #199

Closed bossmonkeyman closed 2 years ago

bossmonkeyman commented 2 years ago

Attempting to destroy a vm resource results in the following error:

Error: json: cannot unmarshal bool into Go value of type []interface {}

The vm itself is actually successfully removed in XO. It is just the terraform destroy command that fails. If destroy is immediately run again after the error, the vm is correctly detected as removed and the command succeeds.

ddelnano commented 2 years ago

@bossmonkeyman thanks for the bug report. This is a dup of #196 and will be fixed in the next release.