Skip to content

Commit ce58b92

Browse files
author
Arman Keyoumarsi
committed
* Updated outputs for v12
* Fixed Typo * Release 1.0.2
1 parent f60fa00 commit ce58b92

File tree

2 files changed

+15
-11
lines changed

2 files changed

+15
-11
lines changed

.gitignore

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

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

output.tf

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,49 @@
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-
}
47+
value = vsphere_virtual_machine.Linux.*.uuid
48+
}
49+

0 commit comments

Comments
 (0)