» vcd_org_vdc

Provides a vCloud Director Organization VDC data source. An Organization VDC can be used to reference a VCD and use its data within other resources or data sources.

Supported in provider v2.5+

» Example Usage

data "vcd_org_vdc" "my-org-vdc" {
  org     = "my-org"
  name    = "my-vdc"
}

output "provider_vdc" {
 value   = data.vcd_org_vdc.my-org-vdc.provider_vdc_name
}

» Argument Reference

The following arguments are supported:

  • org - (Optional, but required if not set at provider level) Org name
  • name - (Required) Organization VDC name

» Attribute reference

All attributes defined in organization VDC resource are supported.