https://github.com/global-vmware/vcd_vapp
This Repository contains the "vcd_vapp" Terraform Module. You can use this Module to deploy Virtual Applications (vApps) into a VMware Cloud Director (VCD) Environment.
https://github.com/global-vmware/vcd_vapp
infrastructure-as-code terraform terraform-module vapp vmware
Last synced: 11 months ago
JSON representation
This Repository contains the "vcd_vapp" Terraform Module. You can use this Module to deploy Virtual Applications (vApps) into a VMware Cloud Director (VCD) Environment.
- Host: GitHub
- URL: https://github.com/global-vmware/vcd_vapp
- Owner: global-vmware
- Created: 2023-04-27T17:01:14.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-07-02T20:14:05.000Z (12 months ago)
- Last Synced: 2025-07-02T21:23:54.790Z (12 months ago)
- Topics: infrastructure-as-code, terraform, terraform-module, vapp, vmware
- Language: HCL
- Homepage: https://www.rackspace.com/cloud/vmware
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Virtual Application Terraform Module
This Terraform module will deploy Virtual Applications (vApps) into an existing VMware Cloud Director (VCD) Environment. This module can be used to provision new vApps into [Rackspace Technology SDDC Flex](https://www.rackspace.com/cloud/private/software-defined-data-center-flex) VCD Data Center Regions.
## Requirements
| Name | Version |
|-----------|---------|
| terraform | ~> 1.2 |
| vcd | ~> 3.8 |
## Resources
| Name | Type |
|------------------------------------------------------------------|-----------|
| [vcd_vdc_group](https://registry.terraform.io/providers/vmware/vcd/3.8.2/docs/data-sources/vdc_group) | data source |
| [vcd_vapp](https://registry.terraform.io/providers/vmware/vcd/3.8.2/docs/resources/vapp) | resource |
## Inputs
| Name | Description | Type | Default | Required |
|-------------------------------|----------------------------------------------------------------------|--------|-------------------|----------|
| vdc_org_name | The name of the Data Center Group Organization in VCD | string | `"Organization Name Format: --"` | yes |
| vdc_group_name | The name of the Data Center Group in VCD | string | `"Data Center Group Name Format: -- "` | yes |
| vdc_name | Cloud Director VDC Name | string | `"Virtual Data Center Name Format: --"` | Yes |
| vapp_names | The names of the vApps to be created | list | - | Yes |
| power_on | The boolean value stating if this vApp should be powered on | bool | - | No |
## Outputs
| Name | Description |
|--------------|-------------------------|
| vapp_names | The names of the Virtual Applications (vApps) |
## Example Usage
This is an example of a `main.tf` file that uses the `"github.com/global-vmware/vcd_vapp_vm"` Module source to create vApps in a VMware Cloud Director environment:
```terraform
module "vcd_vapp" {
source = "github.com/global-vmware/vcd_vapp.git?ref=v1.2.1"
vdc_org_name = ""
vdc_group_name = ""
vdc_name = ""
vapp_names = [
"My Production vApp-01",
"My Production vApp-02"
]
}
```
## Authors
This module is maintained by the [Global VMware Cloud Automation Services Team](https://github.com/global-vmware).