mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-04-22 21:02:08 -04:00
Added acceptance test for creation in folders Added 'baseName' as computed schema attribute for convenience Added 'base_name' computed attribute for convenience Added new vsphere folder resource Fixed folder behavior Assure test folders are properly removed Avoid creating recreating search index in loop Fix typeo in vsphere.createFolder Updated website documentation Renamed test folders to be unique across tests Fixes based on acc test findings; code cleanup Added combined folder and vm acc test Restored newline; fixed skipped acc tests Marked 'existing_path' as computed only Removed debug logging from tests Changed folder read to return error
973 B
973 B
layout, page_title, sidebar_current, description
| layout | page_title | sidebar_current | description |
|---|---|---|---|
| vsphere | VMware vSphere: vsphere_folder | docs-vsphere-resource-folder | Provides a VMware vSphere virtual machine folder resource. This can be used to create and delete virtual machine folders. |
vsphere_virtual_machine
Provides a VMware vSphere virtual machine folder resource. This can be used to create and delete virtual machine folders.
Example Usage
resource "vsphere_folder" "web" {
path = "terraform_web_folder"
}
Argument Reference
The following arguments are supported:
path- (Required) The path of the folder to be created (relative to the datacenter root); should not begin or end with a "/"datacenter- (Optional) The name of a Datacenter in which the folder will be createdexisting_path- (Computed) The path of any parent folder segments which existed at the time this folder was created; on a destroy action, the (pre-) existing path is not removed.