This Terraform module will deploy a Data Center Group Isolated Network into an existing VMware Cloud Director (VCD) Environment. This module can be used to provision new Data Center Group Networks into Rackspace Technology SDDC Flex VCD Data Center Regions.
Name | Version |
---|---|
terraform | ~> 1.2 |
vcd | ~> 3.8 |
Name | Type |
---|---|
vcd_vdc_group | data source |
vcd_nsxt_edgegateway | data source |
vcd_network_isolated_v2 | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
vdc_org_name | The name of the Data Center Group Organization in VCD | string | "Organization Name Format: <Account_Number>-<Region>-<Account_Name>" |
yes |
vdc_group_name | The name of the Data Center Group in VCD | string | "Data Center Group Name Format: <Account_Number>-<Region>-<Account_Name> <datacenter group>" |
yes |
vdc_edge_name | Name of the Data Center Group Edge Gateway | string | "Edge Gateway Name Format: <Account_Number>-<Region>-<Edge_GW_Identifier>-<edge>" |
yes |
segments | A map of objects defining the segments to be created, including gateway, prefix length, DNS servers, DNS suffix, and IP pool ranges. | map(object({ gateway = string, prefix_length = number, dns1 = string, dns2 = string, dns_suffix = string, pool_ranges = list(object({ start_address = string, end_address = string })) })) | N/A | yes |
NOTE:
The segments
input requires a map of objects with specific attributes. Each segment object should have a gateway
, prefix_length
, dns1
, dns2
, dns_suffix
, and pool_ranges
. The pool_ranges
should be a list of objects with start_address
and end_address
.
Name | Description |
---|---|
segment_inputs | This output will provide a map of the segments created with their assigned attributes. |
Here's an example of how to use this module in a main.tf
file:
module "org_vdc_isolated_network" {
source = "github.com/global-vmware/vcd_network_isolated_v2.git?ref=v1.0.1"
vdc_group_name = "<US1-VDC-GRP-NAME>"
vdc_org_name = "<US1-VDC-ORG-NAME>"
vdc_edge_name = "<US1-VDC-EDGE-NAME>"
segments = {
US1-Isolated-Segment-01 = {
gateway = "172.16.20.1"
prefix_length = 24
dns1 = "192.168.255.228"
dns2 = ""
dns_suffix = "mydomain.com"
pool_ranges = [
{
start_address = "172.16.20.50"
end_address = "172.16.20.100"
}
]
},
US1-Isolated-Segment-02 = {
gateway = "172.16.21.1"
prefix_length = 24
dns1 = "192.168.255.228"
dns2 = ""
dns_suffix = "mydomain.com"
pool_ranges = [
{
start_address = "172.16.21.50"
end_address = "172.16.21.100"
}
]
}
}
}
This module is maintained by the Global VMware Cloud Automation Services Team.