local_gateway_route_tables
Retrieves a list of local_gateway_route_tables
in a region
Overview
Name | local_gateway_route_tables |
Type | Resource |
Description | Describes a route table for a local gateway. |
Id | aws.ec2.local_gateway_route_tables |
Fields
Name | Datatype | Description |
---|---|---|
local_gateway_route_table_id | string | The ID of the local gateway route table. |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
create_resource | INSERT | data__DesiredState, region |
list_resource | SELECT | region |
SELECT
Example
SELECT
region,
local_gateway_route_table_id
FROM aws.ec2.local_gateway_route_tables
WHERE region = 'us-east-1'
Permissions
To operate on the local_gateway_route_tables
resource, the following permissions are required:
Create
ec2:CreateLocalGatewayRouteTable,
ec2:DescribeLocalGatewayRouteTables,
ec2:CreateTags
List
ec2:DescribeLocalGatewayRouteTables