Data Source: aws_ec2_transit_gateway

Get information on an EC2 Transit Gateway.

Example Usage

By Filter

data "aws_ec2_transit_gateway" "example" {
  filter {
    name   = "options.amazon-side-asn"
    values = ["64512"]
  }
}

By Identifier

data "aws_ec2_transit_gateway" "example" {
  id = "tgw-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: