diff --git a/ESXi/main.tf b/ESXi/main.tf index 7a2d7aa..3d09234 100644 --- a/ESXi/main.tf +++ b/ESXi/main.tf @@ -74,7 +74,7 @@ resource "esxi_guest" "wef" { network_interfaces { virtual_network = "var.vm_network" - mac_address = "00:50:56:a1:b1:c2" + mac_address = "00:50:56:a1:b1:c3" nic_type = "e1000" } network_interfaces { @@ -107,7 +107,7 @@ resource "esxi_guest" "win10" { network_interfaces { virtual_network = "var.vm_network" - mac_address = "00:50:56:a1:b1:c2" + mac_address = "00:50:56:a1:b1:c4" nic_type = "e1000" } network_interfaces { diff --git a/ESXi/outputs.tf b/ESXi/outputs.tf index 438d95d..19602ae 100644 --- a/ESXi/outputs.tf +++ b/ESXi/outputs.tf @@ -1,13 +1,23 @@ -output "dc_ips" { +output "dc_interfaces" { value = esxi_guest.dc.network_interfaces } +output "dc_ips" { + value = esxi_guest.dc.ip_address +} -output "wef_ips" { +output "wef_interfaces" { value = esxi_guest.wef.network_interfaces } +output "wef_ips" { + value = esxi_guest.wef.ip_address +} -output "win10_ips" { +output "win10_interfaces" { value = esxi_guest.win10.network_interfaces } + +output "win10_ips" { + value = esxi_guest.win10.ip_address +}