» yandex_vpc_route_table

Get information about a Yandex VPC route table. For more information, see Yandex.Cloud VPC.

data "yandex_vpc_route_table" "this" {
  route_table_id = "my-rt-id"
}

This data source is used to define VPC Route Table that can be used by other resources.

» Argument Reference

The following arguments are supported:

  • route_table_id (Optional) - Route table ID.

  • name - (Optional) - Name of the route table.

» Attributes Reference

The following attribute is exported:

  • description - Description of the route table.
  • folder_id - ID of the folder that the resource belongs to.
  • network_id - ID of the network this route table belongs to.
  • labels - Labels to assign to this route table.
  • static_route - List of static route records of the route table. Structure is documented below.
  • created_at - Creation timestamp of this route table.

The static_route block supports: