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-c-{base|restricted}-net-hub
under the folderfldr-common
in case of Hub and Spoke architecture.
Without Hub and Spoke enabled VLAN attachments will be created in prj-{p|n|d}-shared-{base|restricted}
under corresponding environment's folder.
- Rename
partner_interconnect.tf.example
topartner_interconnect.tf
andinterconnect.auto.tfvars.example
tointerconnect.auto.tfvars
in the environment folder in3-networks/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 |
---|---|---|---|---|
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 |
enable_hub_and_spoke | Support hub and spoke architecture | string |
false |
no |
environment | Environment in which to deploy the Partner Interconnect, must be 'common' if enable_hub_and_spoke=true | string |
null |
no |
folder_prefix | Name prefix to use for folders created. | string |
"fldr" |
no |
org_id | Organization ID | string |
n/a | yes |
parent_folder | Optional - if using a folder for testing. | 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_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_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_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_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 |
vpc_type | To which Shared VPC Host attach the Partner Interconnect - base/restricted | string |
null |
no |
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. |