-
Notifications
You must be signed in to change notification settings - Fork 5
/
output.tf
22 lines (22 loc) · 955 Bytes
/
output.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
output "DC_ID" {
description = "id of vSphere Datacenter"
value = "${data.vsphere_datacenter.dc.id}"
}
output "ResPool_ID" {
description = "Resource Pool id"
value = "${data.vsphere_resource_pool.pool.id}"
}
output "vm_name" {
description = "VMs names deployed from all reources"
value = ["${vsphere_virtual_machine.LinuxVM.*.name}"]
value = ["${vsphere_virtual_machine.LinuxVM-withDataDisk.*.name}"]
value = ["${vsphere_virtual_machine.WindowsVM.*.name}"]
value = ["${vsphere_virtual_machine.WindowsVM-withDataDisk.*.name}"]
}
output "vm_ip" {
description = "VMs IPs deployed from reource LinuxVM"
value = ["${vsphere_virtual_machine.LinuxVM.*.default_ip_address}"]
value = ["${vsphere_virtual_machine.LinuxVM-withDataDisk.*.default_ip_address}"]
value = ["${vsphere_virtual_machine.WindowsVM.*.default_ip_address}"]
value = ["${vsphere_virtual_machine.WindowsVM-withDataDisk.*.default_ip_address}"]
}