This module implements the recommendation proposed in Establishing 99.99% Availability for Partner Interconnect.
- Provisioning of four VLAN attachments in the Hub project in the specified environment. That would be the
prj-{p|n|d}-shared-{base|restricted}
under corresponding environment's folder andprj-c-dns-hub
under the folderfldr-common
.
- Rename
partner_interconnect.tf.example
topartner_interconnect.tf
in the shared envs folder in3-networks-dual-svpc/envs/shared
- Rename
partner_interconnect.auto.tfvars.example
topartner_interconnect.auto.tfvars
in the shared envs folder in3-networks-dual-svpc/envs/shared
- Update the file
interconnect.tf
with values that are valid for your environment for the interconnects, locations, candidate subnetworks, vlan_tag8021q and peer info. - Rename
partner_interconnect.tf.example
topartner_interconnect.tf
in the base-env folder in3-networks-dual-svpc/modules/base_env
. - Update the
enable_partner_interconnect
totrue
in eachmain.tf
file in the environment folder in3-networks-dual-svpc/envs/<environment>
. - Update the file
partner_interconnect.tf
with values that are valid for your environment for the VLAN attachments, locations.
Name | Description | Type | Default | Required |
---|---|---|---|---|
attachment_project_id | the Interconnect project ID. | string |
n/a | yes |
cloud_router_labels | A map of suffixes for labelling vlans with four entries like "vlan_1" => "suffix1" with keys from vlan_1 to vlan_4 . |
map(string) |
{} |
no |
preactivate | Preactivate Partner Interconnect attachments, works only for level3 Partner Interconnect | string |
false |
no |
region1 | First subnet region. The Partner Interconnect module only configures two regions. | string |
n/a | yes |
region1_interconnect1_location | Name of the interconnect location used in the creation of the Interconnect for the first location of region1 | string |
n/a | yes |
region1_interconnect1_onprem_dc | Name of the on premisses data center used in the creation of the Interconnect for the first location of region1. | string |
n/a | yes |
region1_interconnect2_location | Name of the interconnect location used in the creation of the Interconnect for the second location of region1 | string |
n/a | yes |
region1_interconnect2_onprem_dc | Name of the on premisses data center used in the creation of the Interconnect for the second location of region1. | string |
n/a | yes |
region1_router1_name | Name of the Router 1 for Region 1 where the attachment resides. | string |
n/a | yes |
region1_router2_name | Name of the Router 2 for Region 1 where the attachment resides. | string |
n/a | yes |
region2 | Second subnet region. The Partner Interconnect module only configures two regions. | string |
n/a | yes |
region2_interconnect1_location | Name of the interconnect location used in the creation of the Interconnect for the first location of region2 | string |
n/a | yes |
region2_interconnect1_onprem_dc | Name of the on premisses data center used in the creation of the Interconnect for the first location of region2. | string |
n/a | yes |
region2_interconnect2_location | Name of the interconnect location used in the creation of the Interconnect for the second location of region2 | string |
n/a | yes |
region2_interconnect2_onprem_dc | Name of the on premisses data center used in the creation of the Interconnect for the second location of region2. | string |
n/a | yes |
region2_router1_name | Name of the Router 1 for Region 2 where the attachment resides. | string |
n/a | yes |
region2_router2_name | Name of the Router 2 for Region 2 where the attachment resides | string |
n/a | yes |
vpc_name | Label to identify the VPC associated with shared VPC that will use the Interconnect. | string |
n/a | yes |
Name | Description |
---|---|
interconnect_attachment1_region1 | The interconnect attachment 1 for region 1 |
interconnect_attachment1_region1_customer_router_ip_address | IPv4 address + prefix length to be configured on the customer router subinterface for this interconnect attachment. |
interconnect_attachment1_region2 | The interconnect attachment 1 for region 2 |
interconnect_attachment1_region2_customer_router_ip_address | IPv4 address + prefix length to be configured on the customer router subinterface for this interconnect attachment. |
interconnect_attachment2_region1 | The interconnect attachment 2 for region 1 |
interconnect_attachment2_region1_customer_router_ip_address | IPv4 address + prefix length to be configured on the customer router subinterface for this interconnect attachment. |
interconnect_attachment2_region2 | The interconnect attachment 2 for region 2 |
interconnect_attachment2_region2_customer_router_ip_address | IPv4 address + prefix length to be configured on the customer router subinterface for this interconnect attachment. |