From 449f5cbb56157db583eb07701a33a819af9aa775 Mon Sep 17 00:00:00 2001 From: Julio Diez Date: Tue, 7 Mar 2023 10:28:29 +0100 Subject: [PATCH] Adapt example to use only allowed chars for resource names --- modules/net-ncc/README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/modules/net-ncc/README.md b/modules/net-ncc/README.md index 2c183b61..567c7d0d 100644 --- a/modules/net-ncc/README.md +++ b/modules/net-ncc/README.md @@ -2,7 +2,7 @@ This module allows the creation and management of an NCC-based hub-and-spoke architecture. It focuses in site-to-cloud connectivity with network virtual appliances (NVAs) as the _backing resource_ for spokes. This allows to connect an external network to Google Cloud by using a SD-WAN router or another appliance with BGP capabilities. It does not handle site-to-site data transfer which is not available in all regions, in particular in EMEA. -The module can manage a hub, multiple spokes, and corresponding Cloud Routers and BGP sessions to network virtual appliances. The NVAs themselves, VPCs, and other Google Cloud resources should be handled externally. +The module can manage a hub, multiple spokes, and corresponding Cloud Routers and BGP sessions to network virtual appliances. The NVAs themselves, VPCs, and other Google Cloud resources should be managed externally. ## Examples @@ -34,7 +34,7 @@ module "nva1" { network_interfaces = [{ network = module.vpc.self_link subnetwork = module.vpc.subnet_self_links["us-central1/subnet-a"] - addresses = {external = null, internal = "10.1.3.8"} + addresses = { external = null, internal = "10.1.3.8" } }] can_ip_forward = true } @@ -45,7 +45,7 @@ module "ncc" { name = "ncc-hub" project_id = "my-project" spokes = { - spoke_A = { + spoke-a = { vpc = module.vpc.name region = "us-central1" subnetwork = module.vpc.subnet_self_links["us-central1/subnet-a"] @@ -56,12 +56,12 @@ module "ncc" { } ] router = { - ip1 = "10.1.3.14" - ip2 = "10.1.3.15" - peer_asn = 65001 + ip1 = "10.1.3.14" + ip2 = "10.1.3.15" + peer_asn = 65001 } } } } # tftest -``` +``` \ No newline at end of file