Skip to content

Commit 317904c

Browse files
author
Arman Keyoumarsi
committed
Revert "* Updated outputs for v12"
> reverting back to v1.0.2 due to faulty release This reverts commit ce58b92.
1 parent fadd9c6 commit 317904c

File tree

2 files changed

+11
-15
lines changed

2 files changed

+11
-15
lines changed

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,3 @@
1010

1111
#Sensetive Info
1212
*private*
13-
14-
#VIM Junk
15-
*.un~

output.tf

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,48 @@
11
output "DC_ID" {
22
description = "id of vSphere Datacenter"
3-
value = data.vsphere_datacenter.dc.id
3+
value = "${data.vsphere_datacenter.dc.id}"
44
}
55
output "ResPool_ID" {
66
description = "Resource Pool id"
7-
value = data.vsphere_resource_pool.pool.id
7+
value = "${data.vsphere_resource_pool.pool.id}"
88
}
99

1010
output "Windows-VM" {
1111
description = "VM Names"
12-
value = vsphere_virtual_machine.Windows.*.name
12+
value = ["${vsphere_virtual_machine.Windows.*.name}"]
1313
}
1414

1515
output "Windows-ip" {
1616
description = "default ip address of the deployed VM"
17-
value = vsphere_virtual_machine.Windows.*.default_ip_address
17+
value = ["${vsphere_virtual_machine.Windows.*.default_ip_address}"]
1818
}
1919

2020
output "Windows-guest-ip" {
2121
description = "all the registered ip address of the VM"
22-
value = vsphere_virtual_machine.Windows.*.guest_ip_addresses
22+
value = ["${vsphere_virtual_machine.Windows.*.guest_ip_addresses}"]
2323
}
2424

2525
output "Windows-uuid" {
2626
description = "UUID of the VM in vSphere"
27-
value = vsphere_virtual_machine.Windows.*.uuid
27+
value = ["${vsphere_virtual_machine.Windows.*.uuid}"]
2828
}
2929

3030
output "Linux-VM" {
3131
description = "VM Names"
32-
value = vsphere_virtual_machine.Linux.*.name
32+
value = ["${vsphere_virtual_machine.Linux.*.name}"]
3333
}
3434

3535
output "Linux-ip" {
3636
description = "default ip address of the deployed VM"
37-
value = vsphere_virtual_machine.Linux.*.default_ip_address
37+
value = ["${vsphere_virtual_machine.Linux.*.default_ip_address}"]
3838
}
3939

4040
output "Linux-guest-ip" {
4141
description = "all the registered ip address of the VM"
42-
value = vsphere_virtual_machine.Linux.*.guest_ip_addresses
42+
value = ["${vsphere_virtual_machine.Linux.*.guest_ip_addresses}"]
4343
}
4444

4545
output "Linux-uuid" {
4646
description = "UUID of the VM in vSphere"
47-
value = vsphere_virtual_machine.Linux.*.uuid
48-
}
49-
47+
value = ["${vsphere_virtual_machine.Linux.*.uuid}"]
48+
}

0 commit comments

Comments
 (0)