terraform-provider-stackitp.../docs/data-sources/routing_table_routes.md
Mauritz Uphoff e0b2c098f2
fix(docs): fix typos in IaaS routingtable docs (#1030)
Signed-off-by: Mauritz Uphoff <mauritz.uphoff@stackit.cloud>
2025-10-16 12:49:20 +00:00

2.8 KiB

page_title subcategory description
stackit_routing_table_routes Data Source - stackit Routing table routes 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_table_routes (Data Source)

Routing table routes 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_table_routes" "example" {
  organization_id  = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
  network_area_id  = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
  routing_table_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.
  • routing_table_id (String) The routing tables ID.

Optional

  • region (String) The datasource 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,routing_table_id,route_id".
  • routes (Attributes List) List of routes. (see below for nested schema)

Nested Schema for routes

Read-Only:

  • created_at (String) Date-time when the route was created
  • destination (Attributes) Destination of the route. (see below for nested schema)
  • labels (Map of String) Labels are key-value string pairs which can be attached to a resource container
  • next_hop (Attributes) Next hop destination. (see below for nested schema)
  • route_id (String) Route ID.
  • updated_at (String) Date-time when the route was updated

Nested Schema for routes.destination

Read-Only:

  • type (String) CIDRV type. Possible values are: cidrv4, cidrv6. Only cidrv4 is supported during experimental stage.
  • value (String) An CIDR string.

Nested Schema for routes.next_hop

Read-Only:

  • type (String) Type of the next hop. Possible values are: blackhole, internet, ipv4, ipv6.
  • value (String) Either IPv4 or IPv6 (not set for blackhole and internet). Only IPv4 supported during experimental stage.