local_gateway_route_tablevpc_association
Gets or updates an individual local_gateway_route_tablevpc_association
resource, use local_gateway_route_tablevpc_associations
to retrieve a list of resources or to create or delete a resource.
Overview
Name | local_gateway_route_tablevpc_association |
Type | Resource |
Description | Describes an association between a local gateway route table and a VPC. |
Id | aws.ec2.local_gateway_route_tablevpc_association |
Fields
Name | Datatype | Description |
---|---|---|
local_gateway_id | string | The ID of the local gateway. |
local_gateway_route_table_id | string | The ID of the local gateway route table. |
local_gateway_route_table_vpc_association_id | string | The ID of the association. |
state | string | The state of the association. |
vpc_id | string | The ID of the VPC. |
tags | array | The tags for the association. |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
update_resource | UPDATE | data__Identifier, data__PatchDocument, region |
get_resource | SELECT | data__Identifier, region |
SELECT
Example
SELECT
region,
local_gateway_id,
local_gateway_route_table_id,
local_gateway_route_table_vpc_association_id,
state,
vpc_id,
tags
FROM aws.ec2.local_gateway_route_tablevpc_association
WHERE region = 'us-east-1' AND data__Identifier = '<LocalGatewayRouteTableVpcAssociationId>';
Permissions
To operate on the local_gateway_route_tablevpc_association
resource, the following permissions are required:
Read
ec2:DescribeLocalGatewayRouteTableVpcAssociations
Update
ec2:DescribeLocalGatewayRouteTableVpcAssociations,
ec2:CreateTags,
ec2:DeleteTags