Skip to content

Latest commit

 

History

History
55 lines (43 loc) · 4.73 KB

File metadata and controls

55 lines (43 loc) · 4.73 KB

Partner Interconnect module

This module implements the recommendation proposed in Establishing 99.99% Availability for Partner Interconnect.

Prerequisites

  1. 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 folder fldr-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.

Usage

  1. Rename partner_interconnect.tf.example to partner_interconnect.tf and interconnect.auto.tfvars.example to interconnect.auto.tfvars in the environment folder in 3-networks/envs/<environment> .
  2. Update the file partner_interconnect.tf with values that are valid for your environment for the VLAN attachments, locations.

Inputs

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

Outputs

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.