This Terraform module will deploy NSX-T IP Sets into an existing VMware Cloud Director (VCD) Environment. This module can be used to provision new IP Sets 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_nsxt_ip_set | 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 | The name of the NSX-T Edge Gateway in VCD | string | "Edge Gateway Name Format: <Account_Number>-<Region>-<Edge_GW_Identifier>-<edge>" |
yes |
ip_sets | A list of IP sets to create in NSX-T | list | N/A | yes |
Name | Description |
---|---|
ip_set_names | The names of the NSX-T IP sets that were created |
ip_set_ids | The IDs of the NSX-T IP sets that were created |
This is an example of a main.tf
file that uses the "github.com/global-vmware/vcd_nsxt_ip_set"
Module source to create NSX-T IP Sets in a VMware Cloud Director environment:
module "vcd_nsxt_ip_set" {
source = "github.com/global-vmware/vcd_nsxt_ip_set.git?ref=v1.2.1"
vdc_org_name = "<US1-VDC-ORG-NAME>"
vdc_group_name = "<US1-VDC-GRP-NAME>"
vdc_edge_name = "<US1-VDC-EDGE-NAME>"
ip_sets = [
{
name = "US1-Segment-01-Network_192.168.0.0/24_IP-Set"
description = "US1-Segment-01 Network IP Set"
ip_addresses = ["172.16.0.0/24"]
},
{
name = "US1-Segment-02-Network_192.168.1.0/24_IP-Set"
description = "US1-Segment-02 Network IP Set"
ip_addresses = ["172.16.1.0/24"]
}
]
}
This module is maintained by the Global VMware Cloud Automation Services Team.