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

1.9 KiB

page_title subcategory description
stackit_network_area Data Source - stackit Network area datasource schema. Must have a region specified in the provider configuration.

stackit_network_area (Data Source)

Network area datasource schema. Must have a region specified in the provider configuration.

Example Usage

data "stackit_network_area" "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.
  • organization_id (String) STACKIT organization ID to which the network area is associated.

Read-Only

  • default_nameservers (List of String, Deprecated) List of DNS Servers/Nameservers.
  • default_prefix_length (Number, Deprecated) The default prefix length for networks in the network area.
  • id (String) Terraform's internal resource ID. It is structured as "organization_id,network_area_id".
  • labels (Map of String) Labels are key-value string pairs which can be attached to a resource container
  • max_prefix_length (Number, Deprecated) The maximal prefix length for networks in the network area.
  • min_prefix_length (Number, Deprecated) The minimal prefix length for networks in the network area.
  • name (String) The name of the network area.
  • network_ranges (Attributes List, Deprecated) List of Network ranges. (see below for nested schema)
  • project_count (Number) The amount of projects currently referencing this area.
  • transfer_network (String, Deprecated) Classless Inter-Domain Routing (CIDR).

Nested Schema for network_ranges

Read-Only:

  • network_range_id (String)
  • prefix (String)