|
| 1 | +--- |
| 2 | +# generated by https://github.com/hashicorp/terraform-plugin-docs |
| 3 | +page_title: "stackit_routing_table_routes Data Source - stackit" |
| 4 | +subcategory: "" |
| 5 | +description: |- |
| 6 | + Routing table routes datasource schema. Must have a region specified in the provider configuration. |
| 7 | + ~> 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. |
| 8 | +--- |
| 9 | + |
| 10 | +# stackit_routing_table_routes (Data Source) |
| 11 | + |
| 12 | +Routing table routes datasource schema. Must have a `region` specified in the provider configuration. |
| 13 | + |
| 14 | +~> 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. |
| 15 | + |
| 16 | +## Example Usage |
| 17 | + |
| 18 | +```terraform |
| 19 | +data "stackit_routing_table_routes" "example" { |
| 20 | + organization_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" |
| 21 | + network_area_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" |
| 22 | + routing_table_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" |
| 23 | +} |
| 24 | +``` |
| 25 | + |
| 26 | +<!-- schema generated by tfplugindocs --> |
| 27 | +## Schema |
| 28 | + |
| 29 | +### Required |
| 30 | + |
| 31 | +- `network_area_id` (String) The network area ID to which the routing table is associated. |
| 32 | +- `organization_id` (String) STACKIT organization ID to which the routing table is associated. |
| 33 | +- `routing_table_id` (String) The routing tables ID. |
| 34 | + |
| 35 | +### Optional |
| 36 | + |
| 37 | +- `region` (String) The datasource region. If not defined, the provider region is used. |
| 38 | + |
| 39 | +### Read-Only |
| 40 | + |
| 41 | +- `id` (String) Terraform's internal datasource ID. It is structured as "`organization_id`,`region`,`network_area_id`,`routing_table_id`,`route_id`". |
| 42 | +- `routes` (Attributes List) List of routes. (see [below for nested schema](#nestedatt--routes)) |
| 43 | + |
| 44 | +<a id="nestedatt--routes"></a> |
| 45 | +### Nested Schema for `routes` |
| 46 | + |
| 47 | +Read-Only: |
| 48 | + |
| 49 | +- `created_at` (String) Date-time when the route was created |
| 50 | +- `destination` (Attributes) Destination of the route. (see [below for nested schema](#nestedatt--routes--destination)) |
| 51 | +- `labels` (Map of String) Labels are key-value string pairs which can be attached to a resource container |
| 52 | +- `next_hop` (Attributes) Next hop destination. (see [below for nested schema](#nestedatt--routes--next_hop)) |
| 53 | +- `route_id` (String) Route ID. |
| 54 | +- `updated_at` (String) Date-time when the route was updated |
| 55 | + |
| 56 | +<a id="nestedatt--routes--destination"></a> |
| 57 | +### Nested Schema for `routes.destination` |
| 58 | + |
| 59 | +Read-Only: |
| 60 | + |
| 61 | +- `type` (String) CIDRV type. Possible values are: `cidrv4`, `cidrv6`. Only `cidrv4` is supported during experimental stage. |
| 62 | +- `value` (String) An CIDR string. |
| 63 | + |
| 64 | + |
| 65 | +<a id="nestedatt--routes--next_hop"></a> |
| 66 | +### Nested Schema for `routes.next_hop` |
| 67 | + |
| 68 | +Read-Only: |
| 69 | + |
| 70 | +- `type` (String) Possible values are: `blackhole`, `internet`, `ipv4`, `ipv6`. Only `cidrv4` is supported during experimental stage.. |
| 71 | +- `value` (String) Either IPv4 or IPv6 (not set for blackhole and internet). Only IPv4 supported during experimental stage. |
0 commit comments