terraform-aws-transit-gateway-route-table
![Release](https://github.com/gooygeek/terraform-aws-transit-gateway-route-table/actions/workflows/release.yml/badge.svg)
Deploy a Transit Gateway Route Table, it's associations, propagations, and routes
Name |
Version |
aws |
>= 3.0, < 5.0.0 |
No modules.
Name |
Description |
Type |
Default |
Required |
name |
The name of the TGW Route Table |
string |
n/a |
yes |
routes |
A list of route maps |
list(map(string)) |
[] |
no |
tags |
The tags of the TGW Route Table |
map(string) |
{ "test": "tag" } |
no |
tgw_id |
The Id of the Transit Gateway to attach this route table to |
string |
n/a |
yes |
vpc_attachments |
A list of vpc attachment maps (see below for details) |
map(map(string)) |
{} |
no |
attach_name = {
attachment_id = "tgw-attach-xxxxxxxxxxxxxxxx"
associate = true
propagate = true
},
Name |
Description |
Type |
Default |
Required |
attachment_id |
ID of the TGW attachment. |
string |
n/a |
yes |
associate |
Should the attachment be associated with this RT? (Can only asscoiated with a single RT at a time). |
bool |
false |
no |
propagate |
Should the attachment be propagated to this RT? (Can only propagated to many RTs at once). |
bool |
true |
no |
{
destination_cidr_block = "0.0.0.0/0"
attachment_id = "tgw-attach-xxxxxxxxxxxxxxxx"
blackhole = true
},
Name |
Description |
Type |
Default |
Required |
destination_cidr_block |
CIDR range of the route's destination. |
string |
n/a |
yes |
attachment_id |
ID of the TGW attachment to send traffic to for this route. |
string |
n/a |
yes |
blackhole |
Blackhole this traffic. If set to true, this will override and attachment_id. |
bool |
false |
no |