diff --git a/main.tf b/main.tf index 739b333..e813f78 100644 --- a/main.tf +++ b/main.tf @@ -67,6 +67,7 @@ data "vsphere_tag" "tag" { data "vsphere_folder" "folder" { count = var.vmfolder != null ? 1 : 0 path = "/${data.vsphere_datacenter.dc.name}/vm/${var.vmfolder}" + depends_on = [var.vm_depends_on] } locals {