Skip to content

Commit

Permalink
Merge pull request #121 from mordekasg/master
Browse files Browse the repository at this point in the history
Add depends_on to data "vsphere_folder" "folder"
  • Loading branch information
Arman-Keyoumarsi authored Jan 4, 2022
2 parents 2eb90d6 + d7f5d75 commit 59e248d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 59e248d

Please sign in to comment.