local_gateway_routes
Retrieves a list of local_gateway_routes
in a region
Overview
Name | local_gateway_routes |
Type | Resource |
Description | Describes a route for a local gateway route table. |
Id | aws.ec2.local_gateway_routes |
Fields
Name | Datatype | Description |
---|---|---|
destination_cidr_block | string | The CIDR block used for destination matches. |
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,
destination_cidr_block,
local_gateway_route_table_id
FROM aws.ec2.local_gateway_routes
WHERE region = 'us-east-1'
Permissions
To operate on the local_gateway_routes
resource, the following permissions are required:
Create
ec2:CreateLocalGatewayRoute,
ec2:SearchLocalGatewayRoutes
List
ec2:DescribeLocalGatewayRouteTables,
ec2:SearchLocalGatewayRoutes