Terraform module which manages connections of Org Networks to vApps on VMWare Cloud Director.
Name | Version |
---|---|
terraform | >= 1.1.9 |
vcd | >= 3.9.0 |
Name | Version |
---|---|
vcd | 3.9.0 |
No modules.
Name | Type |
---|---|
vcd_vapp_org_network.vapp_org_network | resource |
vcd_network_routed_v2.network_routed_v2 | data source |
vcd_nsxt_edgegateway.nsxt_edgegateway | data source |
vcd_vapp.vapp | data source |
vcd_vdc_group.vdc_group | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
vapp_name | The vApp this Org network belongs to. | string |
n/a | yes |
vdc_edgegateway_name | Name of the Edge Gateway the Org Network is connected to. | string |
n/a | yes |
vdc_group_name | Data Center Group that the Edge Gateway belongs to. | string |
n/a | yes |
vdc_org_name | The name of the organization to use. | string |
n/a | yes |
is_fenced | Fencing allows identical virtual machines in different vApp networks connect to organization VDC networks that are accessed in this vApp. | bool |
false |
no |
org_network_name | An Org network name to which vApp network is connected. If not configured, then an isolated network is created. | string |
null |
no |
reboot_vapp_on_removal | (VCD 10.4.1+) API prohibits removal of vApp network from a powered on vApp. Set to true to power off the vApp during vApp network removal. If the vApp's original state was powered on, it will be powered back on after removing the network. (default false) Note. It only affects delete operation for the resource and will never power cycle vApp during update operations. Changing this value will cause plan change, but update will be a no-op operation. | bool |
false |
no |
retain_ip_mac_enabled | Specifies whether the network resources such as IP/MAC of router will be retained across deployments. Configurable when is_fenced is true. | bool |
false |
no |
vdc_name | The name of VDC to use. | string |
null |
no |
Name | Description |
---|---|
id | The ID of the vApp Org Network. |
module "vcd_vapp_org_network" {
source = "git::https://github.com/noris-network/terraform-vcd-vapp-org-network?ref=1.0.0"
vdc_org_name = "myORG"
vdc_group_name = "myDCGroup"
vdc_edgegateway_name = "T1-myORG"
vdc_name = "myDC01"
vapp_name = "webserver"
org_network_name = "myNet"
}