route_table_tags
Expands all tag keys and values for route_tables in a region
Overview
| Name | route_table_tags |
| Type | Resource |
| Description | Specifies a route table for the specified VPC. After you create a route table, you can add routes and associate the table with a subnet. For more information, see [Route tables](https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Route_Tables.html) in the *Amazon VPC User Guide*. |
| Id | aws.ec2.route_table_tags |
Fields
| Name | Datatype | Description |
|---|---|---|
route_table_id | string | |
vpc_id | string | The ID of the VPC. |
tag_key | string | Tag key. |
tag_value | string | Tag value. |
region | string | AWS region. |
Methods
| Name | Accessible by | Required Params |
|---|---|---|
list_resources | SELECT | region |
SELECT examples
Expands tags for all route_tables in a region.
SELECT
region,
route_table_id,
vpc_id,
tag_key,
tag_value
FROM aws.ec2.route_table_tags
WHERE region = 'us-east-1';
Permissions
For permissions required to operate on the route_table_tags resource, see route_tables