Provides details about an EC2 Local Gateway Virtual Interface. More information can be found in the Outposts User Guide.
data "aws_ec2_local_gateway_virtual_interface" "example" {
for_each = data.aws_ec2_local_gateway_virtual_interface_group.example.local_gateway_virtual_interface_ids
id = each.value
}
The following arguments are optional:
filter
- (Optional) One or more configuration blocks containing name-values filters. See the EC2 API Reference for supported filters. Detailed below.id
- (Optional) Identifier of EC2 Local Gateway Virtual Interface.tags
- (Optional) Key-value map of resource tags, each pair of which must exactly match a pair on the desired local gateway route table.The filter
configuration block supports the following arguments:
name
- (Required) Name of the filter.values
- (Required) List of one or more values for the filter.This data source exports the following attributes in addition to the arguments above:
local_address
- Local address.local_bgp_asn
- Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the EC2 Local Gateway.local_gateway_id
- Identifier of the EC2 Local Gateway.peer_address
- Peer address.peer_bgp_asn
- Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the peer.vlan
- Virtual Local Area Network.read
- (Default 20m
)