@AtaxyaNetwork looks good, not sure to post issue here as its is not ansible related, but I get the following error:
$ terraform plan
Planning failed. Terraform encountered an error while generating this plan.
╷
│ Error: unexpected EOF
│
│ with provider["registry.terraform.io/terra-farm/xenorchestra"],
│ on provider.tf line 10, in provider "xenorchestra":
│ 10: provider "xenorchestra" {
$ cat provider.tf
# provider.tf
terraform {
required_providers {
xenorchestra = {
source = "terra-farm/xenorchestra"
version = "~> 0.9"
}
}
}
provider "xenorchestra" {
username = "xo"
password = "password"
url = "ws://10.10.1.120:8443"
insecure = true
}
$ cat vm.tf
data "xenorchestra_pool" "pool" {
name_label = "OTA"
}
data "xenorchestra_template" "vm_template" {
name_label = "Ubuntu-22-template"
}
data "xenorchestra_sr" "sr" {
name_label = "Tintri-Intern-Intern01"
pool_id = data.xenorchestra_pool.pool.id
}
data "xenorchestra_network" "network" {
name_label = "LAN Private"
pool_id = data.xenorchestra_pool.pool.id
}
any idea how to debug?