0
0
llucycodes42
The code uses the vsphere_folder resource to store a folder under the myResourceName name in the vSphere environment. The name and description fields are assigned to the myResourceName and myResourceDescription variables, respectively. The path field defines the folder location in the vSphere environment.
Shortcut: tf_vsphere_folder
resource "vsphere_folder" "${myResourceName}" {
name = "my-${myResourceName}"
description = "my-description-${myResourceName}"
path = "my-path-${myResourceName}"
}