terraform-provider-stackitp.../docs/data-sources/routing_tables.md
Mauritz Uphoff 06f985227c
docs: add system routes description (#901)
* docs: add system routes description

---------

Signed-off-by: Mauritz Uphoff <mauritz.uphoff@stackit.cloud>
2025-07-07 13:35:57 +02:00

2.3 KiB

page_title subcategory description
stackit_routing_tables Data Source - stackit Routing table datasource schema. Must have a region specified in the provider configuration. ~> This datasource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion.

stackit_routing_tables (Data Source)

Routing table datasource schema. Must have a region specified in the provider configuration.

~> This datasource is part of the routing-tables experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion.

Example Usage

data "stackit_routing_tables" "example" {
  organization_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
  network_area_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}

Schema

Required

  • network_area_id (String) The network area ID to which the routing table is associated.
  • organization_id (String) STACKIT organization ID to which the routing table is associated.

Optional

  • region (String) The resource region. If not defined, the provider region is used.

Read-Only

  • id (String) Terraform's internal datasource ID. It is structured as "organization_id,region,network_area_id".
  • items (Attributes List) List of routing tables. (see below for nested schema)

Nested Schema for items

Read-Only:

  • created_at (String) Date-time when the routing table was created
  • default (Boolean) When true this is the default routing table for this network area. It can't be deleted and is used if the user does not specify it otherwise.
  • description (String) Description of the routing table.
  • labels (Map of String) Labels are key-value string pairs which can be attached to a resource container
  • name (String) The name of the routing table.
  • routing_table_id (String) The routing tables ID.
  • system_routes (Boolean) This controls whether the routes for project-to-project communication are created automatically or not.
  • updated_at (String) Date-time when the routing table was updated