Transit Gateway Attachment module for VM-Series
A Terraform module for deploying AWS Transit Gateways Attachments.
AWS provides a network transit hub called a Transit Gateway. One or more VPCs can connect to a Transit Gateway through a Transit Gateway (TGW) Attachment.
Usage
For example usage, please refer to the examples directory.
Reference
Requirements
Name | Version |
---|---|
terraform | >= 1.0.0, < 2.0.0 |
aws | ~> 5.17 |
Providers
Name | Version |
---|---|
aws | ~> 5.17 |
Modules
No modules.
Resources
Name | Type |
---|---|
aws_ec2_transit_gateway_route_table_association.this | resource |
aws_ec2_transit_gateway_route_table_propagation.this | resource |
aws_ec2_transit_gateway_vpc_attachment.this | resource |
Inputs
Name | Description | Type | Default | Required |
---|---|---|---|---|
appliance_mode_support | See the provider documentation. | string | "enable" | no |
dns_support | See the provider documentation. | string | null | no |
ipv6_support | See the provider documentation. | string | null | no |
name | Optional readable name of the TGW attachment object. It is assigned to the usual AWS Name tag. | string | null | no |
propagate_routes_to | Map of route propagations from this attachment. Each key is an arbitrary string, each value is the id of a TGW route table which should receive the routes to the attached VPC CIDRs. | map(string) | {} | no |
subnets | The attachment's subnets as a map. Each key is the availability zone name and each object has an attributeid identifying AWS subnet.All subnets in the map obtain virtual network interfaces attached to the TGW. Example for users of module subnet_set :
|
| n/a | yes |
tags | AWS tags to assign to all the created objects. | map(string) | {} | no |
transit_gateway_route_table | TGW's route table which should receive the traffic coming from the subnet_set (also called an association). An object with at least two attributes:
|
| n/a | yes |
vpc_id | AWS identifier of a VPC containing the Attachment. | string | n/a | yes |
Outputs
Name | Description |
---|---|
attachment | The entire aws_ec2_transit_gateway_vpc_attachment object. |
next_hop_set | The Next Hop Set object, useful as an input to the vpc_route module. The intention wouldbe to route traffic from several subnets to the Transit Gateway. Example:
|
subnets | Same as the input subnets . Intended to be used as a dependency. |