Get information on an EC2 Transit Gateway Connect.
data "aws_ec2_transit_gateway_connect" "example" {
filter {
name = "transport-transit-gateway-attachment-id"
values = ["tgw-attach-12345678"]
}
}
data "aws_ec2_transit_gateway_connect" "example" {
transit_gateway_connect_id = "tgw-attach-12345678"
}
This data source supports the following arguments:
filter
- (Optional) One or more configuration blocks containing name-values filters. Detailed below.transit_gateway_connect_id
- (Optional) Identifier of the EC2 Transit Gateway Connect.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:
protocol
- Tunnel protocoltags
- Key-value tags for the EC2 Transit Gateway Connecttransit_gateway_id
- EC2 Transit Gateway identifiertransport_attachment_id
- The underlaying VPC attachmentread
- (Default 20m
)