--- # generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "awscc_ec2_gateway_route_table_association Resource - terraform-provider-awscc" subcategory: "" description: |- Associates a gateway with a route table. The gateway and route table must be in the same VPC. This association causes the incoming traffic to the gateway to be routed according to the routes in the route table. --- # awscc_ec2_gateway_route_table_association (Resource) Associates a gateway with a route table. The gateway and route table must be in the same VPC. This association causes the incoming traffic to the gateway to be routed according to the routes in the route table. <!-- schema generated by tfplugindocs --> ## Schema ### Required - `gateway_id` (String) The ID of the gateway. - `route_table_id` (String) The ID of the route table. ### Read-Only - `association_id` (String) The route table association ID. - `id` (String) Uniquely identifies the resource. ## Import Import is supported using the following syntax: ```shell $ terraform import awscc_ec2_gateway_route_table_association.example <resource ID> ```