forked from Terraform-VMWare-Modules/terraform-vsphere-vm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutput.tf
49 lines (40 loc) · 1.25 KB
/
output.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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 "Windows-VM" {
description = "VM Names"
value = vsphere_virtual_machine.Windows.*.name
}
output "Windows-ip" {
description = "default ip address of the deployed VM"
value = vsphere_virtual_machine.Windows.*.default_ip_address
}
output "Windows-guest-ip" {
description = "all the registered ip address of the VM"
value = vsphere_virtual_machine.Windows.*.guest_ip_addresses
}
output "Windows-uuid" {
description = "UUID of the VM in vSphere"
value = vsphere_virtual_machine.Windows.*.uuid
}
output "Linux-VM" {
description = "VM Names"
value = vsphere_virtual_machine.Linux.*.name
}
output "Linux-ip" {
description = "default ip address of the deployed VM"
value = vsphere_virtual_machine.Linux.*.default_ip_address
}
output "Linux-guest-ip" {
description = "all the registered ip address of the VM"
value = vsphere_virtual_machine.Linux.*.guest_ip_addresses
}
output "Linux-uuid" {
description = "UUID of the VM in vSphere"
value = vsphere_virtual_machine.Linux.*.uuid
}