terraform-provider-stackitp.../docs/data-sources/network_area_route.md
Ruben Hönle 53a3697850
feat(iaas): support for v2 API (#1070)
relates to STACKITTPR-313
2025-12-17 15:40:46 +01:00

2 KiB

page_title subcategory description
stackit_network_area_route Data Source - stackit Network area route data resource schema. Must have a region specified in the provider configuration.

stackit_network_area_route (Data Source)

Network area route data resource schema. Must have a region specified in the provider configuration.

Example Usage

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

Schema

Required

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

Optional

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

Read-Only

  • destination (Attributes) Destination of the route. (see below for nested schema)
  • id (String) Terraform's internal data source ID. It is structured as "organization_id,region,network_area_id,network_area_route_id".
  • 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)

Nested Schema for destination

Read-Only:

  • type (String) CIDRV type. Possible values are: cidrv4, cidrv6.
  • value (String) An CIDR string.

Nested Schema for 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).