From e6627b071a59a973d40da37b4f9f874c1eca32c4 Mon Sep 17 00:00:00 2001 From: Edward Fink Date: Fri, 17 Nov 2023 10:43:55 -0500 Subject: [PATCH] fmt Signed-off-by: Edward Fink --- examples/satellite-vmware/README.md | 4 ++-- examples/satellite-vmware/main.tf | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/examples/satellite-vmware/README.md b/examples/satellite-vmware/README.md index 2db4f09..165fcff 100644 --- a/examples/satellite-vmware/README.md +++ b/examples/satellite-vmware/README.md @@ -22,7 +22,7 @@ This module is meant for use with Terraform 1.1.9 or later. ## Required environment data -The tables below outline the information to gather from your environment before filling out the terraform variable values. +The tables below outline the information to gather from your environment before filling out the terraform variable values. Required to connect to the VMware Cloud Director environment: | Name | Description | Example @@ -41,7 +41,7 @@ Used within the VMware environment when configuring the Virtual Machines and net rhcos_template_id | The ID of the RHCOS 4.12+ template to be used when provisioning the virtual machines | 158d698b-7498-4038-b48d-70665115f4ea | dhcp_network_name | The name of the network pre-configured for the environment | my-network | vdc_edge_gateway_name | The name of the edge network configured in the environment. This may not be needed in all applications, but if provided, firewall rules and NAT setup will take place | edge-dal10-12345678 | - + Other input information can be found in variables.tf TODO: link this ## Networking configuration diff --git a/examples/satellite-vmware/main.tf b/examples/satellite-vmware/main.tf index 2f823df..b874374 100644 --- a/examples/satellite-vmware/main.tf +++ b/examples/satellite-vmware/main.tf @@ -35,15 +35,15 @@ module "satellite-location" { # Used to obtain information from the already deployed Edge Gateway and network module "ibm_vmware_solutions_shared_instance" { - source = "./modules/ibm-vmware-solutions-shared-instance/" - count = var.vdc_edge_gateway_name != null ? 1 : 0 + source = "./modules/ibm-vmware-solutions-shared-instance/" + count = var.vdc_edge_gateway_name != null ? 1 : 0 vdc_edge_gateway_name = var.vdc_edge_gateway_name network_name = var.dhcp_network_name } # Create the firewall rule to access the Internet resource "vcd_nsxv_firewall_rule" "rule_internet" { - count = var.vdc_edge_gateway_name != null ? 1 : 0 + count = var.vdc_edge_gateway_name != null ? 1 : 0 edge_gateway = module.ibm_vmware_solutions_shared_instance[0].edge_gateway_name name = "${var.dhcp_network_name}-Internet" @@ -64,7 +64,7 @@ resource "vcd_nsxv_firewall_rule" "rule_internet" { # Create SNAT rule to access the Internet resource "vcd_nsxv_snat" "rule_internet" { - count = var.vdc_edge_gateway_name != null ? 1 : 0 + count = var.vdc_edge_gateway_name != null ? 1 : 0 edge_gateway = module.ibm_vmware_solutions_shared_instance[0].edge_gateway_name network_type = "ext" network_name = module.ibm_vmware_solutions_shared_instance[0].external_network_name_2 @@ -98,7 +98,7 @@ resource "vcd_nsxv_firewall_rule" "rule_internet_ssh" { # Create the firewall to access IBM Cloud services over the IBM Cloud private network resource "vcd_nsxv_firewall_rule" "rule_ibm_private" { - count = var.vdc_edge_gateway_name != null ? 1 : 0 + count = var.vdc_edge_gateway_name != null ? 1 : 0 edge_gateway = module.ibm_vmware_solutions_shared_instance[0].edge_gateway_name name = "${var.dhcp_network_name}-IBM-Private" @@ -120,7 +120,7 @@ resource "vcd_nsxv_firewall_rule" "rule_ibm_private" { # Create SNAT rule to access the IBM Cloud services over a private network resource "vcd_nsxv_snat" "rule_ibm_private" { - count = var.vdc_edge_gateway_name != null ? 1 : 0 + count = var.vdc_edge_gateway_name != null ? 1 : 0 edge_gateway = module.ibm_vmware_solutions_shared_instance[0].edge_gateway_name network_type = "ext" network_name = module.ibm_vmware_solutions_shared_instance[0].external_network_name_1