Data Source: aws_ec2_transit_gateway_route_tables

Provides information for multiple EC2 Transit Gateway Route Tables, such as their identifiers.

Example Usage

The following shows outputting all Transit Gateway Route Table Ids.

data "aws_ec2_transit_gateway_route_tables" "example" {}

output "example" {
  value = data.aws_ec2_transit_gateway_route_tables.example.ids
}

Argument Reference

This data source supports the following arguments:

More complex filters can be expressed using one or more filter sub-blocks, which take the following arguments:

Attribute Reference

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

Timeouts

Configuration options: