https://github.com/global-vmware/vcd_vapp_org_network
This Repository contains the "vcd_vapp_org_network" Terraform Module. You can use this Module to attach an existing Org VDC Network to a Virtual Application (vApp) in a VMware Cloud Director (VCD) Environment.
https://github.com/global-vmware/vcd_vapp_org_network
infrastructure-as-code networking terraform terraform-module vapp vmware
Last synced: about 1 year ago
JSON representation
This Repository contains the "vcd_vapp_org_network" Terraform Module. You can use this Module to attach an existing Org VDC Network to a Virtual Application (vApp) in a VMware Cloud Director (VCD) Environment.
- Host: GitHub
- URL: https://github.com/global-vmware/vcd_vapp_org_network
- Owner: global-vmware
- Created: 2023-07-14T02:04:00.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-15T20:52:09.000Z (over 2 years ago)
- Last Synced: 2023-12-16T04:36:46.113Z (over 2 years ago)
- Topics: infrastructure-as-code, networking, terraform, terraform-module, vapp, vmware
- Language: HCL
- Homepage: https://www.rackspace.com/cloud/vmware
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## VCD vApp Organization Network Terraform Module
This Terraform module will attach an existing Org VDC Network to a Virtual Application (vApp) in a VMware Cloud Director (VCD) environment. This module can be used to attach Org Networks to a vApp in [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_vapp_org_network](https://registry.terraform.io/providers/vmware/vcd/latest/docs/resources/vapp_org_network) | Resource |
### Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|----------|
| vdc_org_name | The name of the Data Center Group Organization in VCD | string | Organization Name Format: `"Organization Name Format: --"` | yes |
| vdc_name | The name of the Virtual Data Center Group in VCD | string | VDC Name Format: `"Virtual Data Center Name Format: --"` | yes |
| vapp_networks | List of vApp Organization Networks to be created | map(object) | - | yes |
### Outputs
| Name | Description |
|---------------------------|-----------------------------------------------|
| vapp_network_ids | The IDs of the created vApp networks |
| vapp_names | The names of the vApps for the created vApp networks |
| vapp_org_network_names | The org network names for the created vApp networks |
### Example Usage
This is an example of a `main.tf` file that uses the `"github.com/global-vmware/vcd_vapp_org_network"` Module source to attach Org Networks to a vApp in a VMware Cloud Director environment:
```terraform
module "vapp_networks" {
source = "github.com/global-vmware/vcd_vapp_org_network.git?ref=v1.0.1"
vdc_org_name = ""
vdc_name = ""
vapp_networks = {
"US1-Segment-01" = {
vapp_name = "Production Application 01"
org_network_name = "US1-Segment-01"
is_fenced = false
retain_ip_mac_enabled = false
reboot_vapp_on_removal = true
},
"US1-Segment-02" = {
vapp_name = "Production Application 01"
org_network_name = "US1-Segment-02"
is_fenced = false
retain_ip_mac_enabled = false
reboot_vapp_on_removal = true
}
}
}
```
## Authors
This module is maintained by the [Global VMware Cloud Automation Services Team](https://github.com/global-vmware).