From d7f5d7554151747b7d0180130c6c341f8a672877 Mon Sep 17 00:00:00 2001 From: mordek Date: Wed, 1 Dec 2021 18:00:55 +0100 Subject: [PATCH] main.tf Add depends_on to "vsphere_folder" "folder" --- main.tf | 1 + 1 file changed, 1 insertion(+) 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 {