fix(vmware): correcting iterator name typo
This commit is contained in:
parent
f1b745e064
commit
35c5b8cdbb
|
@ -55,7 +55,7 @@ data "vsphere_network" "network" {
|
||||||
|
|
||||||
resource "vsphere_virtual_machine" "vm" {
|
resource "vsphere_virtual_machine" "vm" {
|
||||||
for_each = var.vms
|
for_each = var.vms
|
||||||
iterator = "machines"
|
iterator = "machine"
|
||||||
name = "${machine.key}.${machine.value.domain}"
|
name = "${machine.key}.${machine.value.domain}"
|
||||||
resource_pool_id = data.vsphere_resource_pool.id
|
resource_pool_id = data.vsphere_resource_pool.id
|
||||||
datastore_id = data.vsphere_datastore.id
|
datastore_id = data.vsphere_datastore.id
|
||||||
|
|
Loading…
Reference in New Issue