From 725efa06432438d01c696bfeb4920d38fe913a96 Mon Sep 17 00:00:00 2001 From: Matt Scafe Date: Mon, 11 Dec 2023 15:12:19 -0600 Subject: [PATCH] - "vcd_nsxt_nat_rule" Module Release 1.3.2 - Added the "org" Argument to the "vcd_vdc_group" Data Source - Updated the source URL Reference in the "vcd_nsxt_nat_rule" Module Code Snippet to Version 1.3.2 in the Example Usage Section of the README --- .gitignore | 2 ++ README.md | 4 ++-- main.tf | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 73def93..bd8a318 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,8 @@ *.tfstate.* secrets.tfvars secrets.auto.tfvars +terraform.tfvars +terraform.auto.tfvars providers.tf # Crash log files diff --git a/README.md b/README.md index 13ca41e..3e3c36a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ## VCD NSX-T Edge Gateway NAT Rules Terraform Module -This Terraform module will deploy NSX-T Edge Gateway NAT Rules into an existing VMware Cloud Director (VCD) Environment. This module can be used to provsion new NAT Rules into [Rackspace Technology SDDC Flex](https://www.rackspace.com/cloud/private/software-defined-data-center-flex) VCD Data Center Regions. +This Terraform module will deploy NSX-T Edge Gateway NAT Rules into an existing VMware Cloud Director (VCD) Environment. This module can be used to provision new NAT Rules into [Rackspace Technology SDDC Flex](https://www.rackspace.com/cloud/private/software-defined-data-center-flex) VCD Data Center Regions. ## Requirements @@ -38,7 +38,7 @@ This is an example of a `main.tf` file that uses the `"github.com/global-vmware/ ```terraform module "vcd_nsxt_nat_rule" { - source = "github.com/global-vmware/vcd_nsxt_nat_rule.git?ref=v1.3.1" + source = "github.com/global-vmware/vcd_nsxt_nat_rule.git?ref=v1.3.2" vdc_org_name = "" vdc_group_name = "" diff --git a/main.tf b/main.tf index c2a7621..fdf0dc6 100644 --- a/main.tf +++ b/main.tf @@ -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 }