Data Source: aws_ec2_transit_gateway_connect_peer

Get information on an EC2 Transit Gateway Connect Peer.

Example Usage

By Filter

data "aws_ec2_transit_gateway_connect_peer" "example" {
  filter {
    name   = "transit-gateway-attachment-id"
    values = ["tgw-attach-12345678"]
  }
}

By Identifier

data "aws_ec2_transit_gateway_connect_peer" "example" {
  transit_gateway_connect_peer_id = "tgw-connect-peer-12345678"
}

Argument Reference

This data source supports the following arguments:

filter Argument Reference

Attribute Reference

This data source exports the following attributes in addition to the arguments above:

Timeouts

Configuration options: