fix(vmware): resource name is vsphere_virtual_machine
This commit is contained in:
parent
eaea580fef
commit
f1b745e064
|
@ -53,7 +53,7 @@ data "vsphere_network" "network" {
|
||||||
datacenter_id = data.vsphere_datacenter.datacenter.id
|
datacenter_id = data.vsphere_datacenter.datacenter.id
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "vsphere_virtual_virtual_machine" "vm" {
|
resource "vsphere_virtual_machine" "vm" {
|
||||||
for_each = var.vms
|
for_each = var.vms
|
||||||
iterator = "machines"
|
iterator = "machines"
|
||||||
name = "${machine.key}.${machine.value.domain}"
|
name = "${machine.key}.${machine.value.domain}"
|
||||||
|
|
Loading…
Reference in New Issue