11output "DC_ID" {
22 description = " id of vSphere Datacenter"
3- value = data. vsphere_datacenter . dc . id
3+ value = " ${ data . vsphere_datacenter . dc . id } "
44}
55output "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
1010output "Windows-VM" {
1111 description = " VM Names"
12- value = vsphere_virtual_machine. Windows . * . name
12+ value = [ " ${ vsphere_virtual_machine . Windows . * . name } " ]
1313}
1414
1515output "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
2020output "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
2525output "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
3030output "Linux-VM" {
3131 description = " VM Names"
32- value = vsphere_virtual_machine. Linux . * . name
32+ value = [ " ${ vsphere_virtual_machine . Linux . * . name } " ]
3333}
3434
3535output "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
4040output "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
4545output "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