Skip to content

Commit

Permalink
Update net-vlan-attachment module configuration with the correct link…
Browse files Browse the repository at this point in the history
…-local IP addresses and interconnect self-link formats.
  • Loading branch information
Luca Prete committed Dec 10, 2024
1 parent 1a1886c commit c7e6252
Showing 1 changed file with 17 additions and 16 deletions.
33 changes: 17 additions & 16 deletions modules/net-vlan-attachment/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand Down Expand Up @@ -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
}
}
Expand Down Expand Up @@ -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
}
}
Expand All @@ -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
}
}
Expand Down Expand Up @@ -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
}
Expand All @@ -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
}
Expand All @@ -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
}
Expand All @@ -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
}
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit c7e6252

Please sign in to comment.