From f1b745e064c2f30a72cd8b699cd25228aea450c0 Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Wed, 5 Jul 2023 10:12:29 +0200 Subject: [PATCH] fix(vmware): resource name is vsphere_virtual_machine --- modules/vmware/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/vmware/main.tf b/modules/vmware/main.tf index d6c4b06..1b4995a 100644 --- a/modules/vmware/main.tf +++ b/modules/vmware/main.tf @@ -53,7 +53,7 @@ data "vsphere_network" "network" { datacenter_id = data.vsphere_datacenter.datacenter.id } -resource "vsphere_virtual_virtual_machine" "vm" { +resource "vsphere_virtual_machine" "vm" { for_each = var.vms iterator = "machines" name = "${machine.key}.${machine.value.domain}"