Skip to content

Commit

Permalink
Merge pull request #1 from global-vmware/dev
Browse files Browse the repository at this point in the history
- "vcd_nsxt_network_dhcp" Module Release 2.0.1
  • Loading branch information
scafeman authored Dec 12, 2023
2 parents 176bc1d + 00f4b1c commit 1d580ac
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
*.tfstate.*
secrets.tfvars
secrets.auto.tfvars
terraform.tfvars
terraform.auto.tfvars
providers.tf

# Crash log files
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ This Terraform module deploys NSX-T DHCP Pools into an existing VMware Cloud Dir

```terraform
module "vcd_nsxt_network_dhcp" {
source = "github.com/global-vmware/vcd_nsxt_network_dhcp.git?ref=v2.0.0"
source = "github.com/global-vmware/vcd_nsxt_network_dhcp.git?ref=v2.0.1"
vdc_org_name = "<VDC-ORG-NAME>"
vdc_group_name = "<VDC-GRP-NAME>"
Expand Down
3 changes: 2 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ terraform {

# Create the Datacenter Group data source
data "vcd_vdc_group" "dcgroup" {
org = var.vdc_org_name
name = var.vdc_group_name
}

Expand All @@ -23,8 +24,8 @@ data "vcd_nsxt_edgegateway" "t1" {

data "vcd_network_routed_v2" "network" {
for_each = var.segments
name = each.key
org = var.vdc_org_name
name = each.key
edge_gateway_id = data.vcd_nsxt_edgegateway.t1.id
}

Expand Down

0 comments on commit 1d580ac

Please sign in to comment.