vatesfr / terraform-provider-xenorchestra

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

Error while creating a new virtual machine #105

Closed ultreiac closed 3 years ago

ultreiac commented 3 years ago

Hi, I am getting this error while running terraform apply:

Error: json: cannot unmarshal bool into Go struct field Vm.high_availability of type string

main.tf is here

Software:

Thx in advance

ddelnano commented 3 years ago

@ultreiac what version of the provider are you using? I see ~> 0.5 specified but what version is installed? If it's not the latest have you tried upgrading your provider version?

Please attach terraform debug logs by running TF_LOG=debug terraform plan to this issue.

ddelnano commented 3 years ago

Also I recommend you joining the Discord mentioned in the README. It will be much easier for us to debug this.

ultreiac commented 3 years ago

@ddelnano I upgraded to latest version the provider and Xen Orchestra and it is working.