Skip to main content

local_gateway_route_tables

Retrieves a list of local_gateway_route_tables in a region

Overview

Namelocal_gateway_route_tables
TypeResource
DescriptionDescribes a route table for a local gateway.
Idaws.ec2.local_gateway_route_tables

Fields

NameDatatypeDescription
local_gateway_route_table_idstringThe ID of the local gateway route table.
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTdata__DesiredState, region
list_resourceSELECTregion

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