xenserver / terraform-provider-xenserver

XenServer provider for Terraform
Other
18 stars 5 forks source link

Get the IP address of the created VM #79

Closed DavBfr closed 2 days ago

DavBfr commented 2 days ago

How to get the IP address of the created VM?

With openstack, we can do:

output "vm-ip" {
  value = openstack_compute_instance_v2.test-vm.access_ip_v4
}

Is there a way to achieve the same with XenServer?

DavBfr commented 2 days ago

xenserver_vm.test-vm.default_ip is the answer.