Skip to content

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.

Notifications You must be signed in to change notification settings

global-vmware/vcd_vapp_org_network

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 VCD Data Center Regions.

Requirements

Name Version
terraform ~> 1.2
vcd ~> 3.8

Resources

Name Type
vcd_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: <Account_Number>-<Region>-<Account_Name>" yes
vdc_name The name of the Virtual Data Center Group in VCD string VDC Name Format: "Virtual Data Center Name Format: <Account_Number>-<Region>-<VDC_Name>" 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:

module "vapp_networks" {
  source                        = "github.com/global-vmware/vcd_vapp_org_network.git?ref=v1.0.1"

  vdc_org_name                  = "<US1-VDC-ORG-NAME>"
  vdc_name                      = "<US1-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.

About

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.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages