directconnect
BorisLabs/directconnect/aws
Terraform module to setup AWS Direct Connect resources
Install
README
AWS Direct Connect Terraform Module Terraform module which creates Direct Connect resources on AWS. This module aims to provide all connotations of a Direct Connect setup for AWS. Usage ``HCL module "gateway_and_attached_vif" { source = "BorisLabs/directconnect/aws" version = "0.0.1" create_dx_gateway = true dx_gateway_name = "dx-gw-01" dx_gateway_bgp_asn = "65300" create_dx_private_vif = true dx_connection_id = "dxcon-1234abcd" dx_private_vif_name = "dx-private-vif-01-01-a" dx_private_vif_address_family = "ipv4" dx_private_vif_customer_address = "169.254.254.102/30" dx_private_vif_amazon_address = "169.254.254.101/30" dx_private_vif_bgp_asn = "65200" dx_private_vif_vlan_id = "200" dx_private_vif_tags = { Gateway = "dx-gw-01" Enviroment = "Development" } } `` Examples - Single VIF - DX Con
Inputs (50)
| Name | Type | Description | Default |
|---|---|---|---|
| crossaccount_dx_gateway | bool | Create a Cross Account DX Proposal & acceptance conflicts with associate_dx_gate | false |
| dx_connection_name | string | Name of the DX Connection | null |
| dx_gateway_bgp_asn | number | BGP ASN For DX Gateway | 65534 |
| dx_private_vif_name | string | Name of the Virtual Interface | "this-is-a-default-name" |
| dx_public_vif_address_family | string | The Address Family for the BGP Peer ipv4 or ipv6 | "ipv4" |
| dx_public_vif_bgp_auth_key | string | Auth key for BGP Configuration | null |
| create_dx_connection | bool | Create a DX Connection | false |
| dx_private_vif_vlan_id | number | The VLAN ID to use on the virtual interface | 4094 |
| dx_private_hosted_vif_bgp_asn | number | BGP ASN for client Hosted VIF | 65001 |
| allowed_prefixes | set(string) | List of allowed prefixes to advertise to the Direct Connect Gateway | null |
| create_dx_public_vif | bool | Create a DX Public Virtual Interface | false |
| vgw_id | string | AWS ID of the Virtual Private Gateway if attaching one use in conjunction with a | null |
| vpc_id | string | Required if you are creating and attach DX & VGW | null |
| dx_gateway_name | string | DX Gateway name | "dx-gateway-default-name" |
| create_dx_gateway | bool | Create a DX Gateway | false |
| dx_lag_id | string | ID of LAG Group which can be used to create a VIF on | null |
| dx_connection_id | string | ID Of the DX Connection | null |
| dx_private_hosted_vif_owner_account_id | string | The AWS account that will own the new virtual interface. | null |
| dx_bgp_customer_address | string | Customer BGP Address, required for Public VIF | null |
| dx_lag_name | string | Name of the Lag group | null |
| … and 10 more inputs | |||
Outputs (13)
dx_connection_bandwidth — Bandwidth of the connectiondx_private_hosted_vif_id — The ID of the virtual interface.dx_private_hosted_vif_arn — The ARN of the virtual interfacedx_public_vif_id — The ID of the public virtual interface.dx_gateway_id — The ID of the gatewayvgw_id — The ID of the VPN Gatewaydx_connection_id — The ID of the connectiondx_connection_name — The connection namedx_public_vif_arn — The ARN of the public virtual interface.dx_private_vif_arn — The ARN of the public virtual interface.dx_private_vif_id — The ID of the public virtual interface.dx_gateway_name — The name of the gatewaydx_connection_arn — The ARN of the connectionResources (12)
Details
Similar packages
Azure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,