Skip to content

Latest commit

 

History

History
72 lines (52 loc) · 948 Bytes

vsphere_folder.md

File metadata and controls

72 lines (52 loc) · 948 Bytes

vsphere_folder

back

Index

Terraform

terraform {
  required_providers {
    vsphere = ">= 1.25.0"
  }
}

top

Example Usage

module "vsphere_folder" {
  source = "./modules/vsphere/d/vsphere_folder"

  # path - (required) is a type of string
  path = null
}

top

Variables

variable "path" {
  description = "(required) - The absolute path of the folder."
  type        = string
}

top

Datasource

data "vsphere_folder" "this" {
  # path - (required) is a type of string
  path = var.path
}

top

Outputs

output "id" {
  description = "returns a string"
  value       = data.vsphere_folder.this.id
}

output "this" {
  value = vsphere_folder.this
}

top