diff --git a/modules/net-vlan-attachment/README.md b/modules/net-vlan-attachment/README.md index 7b6517a1de..6ba184b64f 100644 --- a/modules/net-vlan-attachment/README.md +++ b/modules/net-vlan-attachment/README.md @@ -39,8 +39,9 @@ module "example-va" { } dedicated_interconnect_config = { bandwidth = "BPS_10G" - bgp_range = "169.254.0.0/30" - interconnect = "interconnect-a" + # Cloud router gets 169.254.0.1; peer router gets 169.254.0.2. + bgp_range = "169.254.0.0/29" + interconnect = "https://www.googleapis.com/compute/v1/projects/my-project/global/interconnects/interconnect-a" vlan_tag = 12345 } } @@ -92,8 +93,8 @@ module "example-va" { } dedicated_interconnect_config = { bandwidth = "BPS_10G" - bgp_range = "169.254.0.0/30" - interconnect = "interconnect-a" + bgp_range = "169.254.0.0/29" + interconnect = "https://www.googleapis.com/compute/v1/projects/my-project/global/interconnects/interconnect-a" vlan_tag = 12345 } } @@ -173,8 +174,8 @@ module "example-va-a" { } dedicated_interconnect_config = { bandwidth = "BPS_10G" - bgp_range = "169.254.0.0/30" - interconnect = "interconnect-a" + bgp_range = "169.254.0.0/29" + interconnect = "https://www.googleapis.com/compute/v1/projects/my-project/global/interconnects/interconnect-a" vlan_tag = 1001 } } @@ -193,8 +194,8 @@ module "example-va-b" { } dedicated_interconnect_config = { bandwidth = "BPS_10G" - bgp_range = "169.254.0.4/30" - interconnect = "interconnect-b" + bgp_range = "169.254.0.8/29" + interconnect = "https://www.googleapis.com/compute/v1/projects/my-project/global/interconnects/interconnect-b" vlan_tag = 1002 } } @@ -311,7 +312,7 @@ module "example-va-a-ew8" { } dedicated_interconnect_config = { bandwidth = "BPS_10G" - bgp_range = "169.254.0.0/30" + bgp_range = "169.254.0.0/29" interconnect = "interconnect-a-ew8" vlan_tag = 1001 } @@ -331,7 +332,7 @@ module "example-va-b-ew8" { } dedicated_interconnect_config = { bandwidth = "BPS_10G" - bgp_range = "169.254.0.4/30" + bgp_range = "169.254.0.8/29" interconnect = "interconnect-b-ew8" vlan_tag = 1002 } @@ -351,7 +352,7 @@ module "example-va-a-ew12" { } dedicated_interconnect_config = { bandwidth = "BPS_10G" - bgp_range = "169.254.1.0/30" + bgp_range = "169.254.1.0/29" interconnect = "interconnect-a-ew12" vlan_tag = 1003 } @@ -371,7 +372,7 @@ module "example-va-b-ew12" { } dedicated_interconnect_config = { bandwidth = "BPS_10G" - bgp_range = "169.254.1.4/30" + bgp_range = "169.254.1.8/29" interconnect = "interconnect-b-ew12" vlan_tag = 1004 } @@ -519,8 +520,8 @@ module "example-va-a" { } dedicated_interconnect_config = { bandwidth = "BPS_10G" - bgp_range = "169.254.0.0/30" - interconnect = "interconnect-a" + bgp_range = "169.254.0.0/29" + interconnect = "https://www.googleapis.com/compute/v1/projects/my-project/global/interconnects/interconnect-a" vlan_tag = 1001 } vpn_gateways_ip_range = "10.255.255.0/29" # Allows for up to 8 tunnels @@ -540,8 +541,8 @@ module "example-va-b" { } dedicated_interconnect_config = { bandwidth = "BPS_10G" - bgp_range = "169.254.0.4/30" - interconnect = "interconnect-b" + bgp_range = "169.254.0.8/29" + interconnect = "https://www.googleapis.com/compute/v1/projects/my-project/global/interconnects/interconnect-b" vlan_tag = 1002 } vpn_gateways_ip_range = "10.255.255.8/29" # Allows for up to 8 tunnels