AWS Amazon EC2 Transit Gateway Route Table Association
This page shows how to write Terraform and CloudFormation for Amazon EC2 Transit Gateway Route Table Association and write them securely.
Terraform Example (aws_ec2_transit_gateway_route_table_association_table_association)
Manages an EC2 Transit Gateway Route Table association.
The following arguments are supported:
transit_gateway_attachment_id- (Required) Identifier of EC2 Transit Gateway Attachment.
transit_gateway_route_table_id- (Required) Identifier of EC2 Transit Gateway Route Table.
In addition to all arguments above, the following attributes are exported:
id- EC2 Transit Gateway Route Table identifier combined with EC2 Transit Gateway Attachment identifier
resource_id- Identifier of the resource
resource_type- Type of the resource
Example Usage (from GitHub)
An example could not be found in GitHub.
CloudFormation Example (AWS::EC2::TransitGatewayRouteTableAssociation)
Associates the specified attachment with the specified transit gateway route table. You can associate one route table with an attachment.
Before you can update the route table associated with an attachment, you must disassociate the transit gateway route table that is currently associated with the attachment. First update the stack to remove the associated transit gateway route table, and then update the stack with the ID of the new transit gateway route table to associate.
Frequently asked questions
What is AWS Amazon EC2 Transit Gateway Route Table Association?
AWS Amazon EC2 Transit Gateway Route Table Association is a resource for Amazon EC2 of Amazon Web Service. Settings can be wrote in Terraform and CloudFormation.