2.2 KiB
2.2 KiB
| page_title | subcategory | description |
|---|---|---|
| stackit_network_area Resource - stackit | Network area resource schema. |
stackit_network_area (Resource)
Network area resource schema.
Example Usage
resource "stackit_network_area" "example" {
organization_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
name = "example-network-area"
labels = {
"key" = "value"
}
}
# Only use the import statement, if you want to import an existing network area
import {
to = stackit_network_area.import-example
id = "${var.organization_id},${var.network_area_id}"
}
Schema
Required
name(String) The name of the network area.organization_id(String) STACKIT organization ID to which the network area is associated.
Optional
default_nameservers(List of String, Deprecated) List of DNS Servers/Nameservers for configuration of network area for regioneu01.default_prefix_length(Number, Deprecated) The default prefix length for networks in the network area for regioneu01.labels(Map of String) Labels are key-value string pairs which can be attached to a resource containermax_prefix_length(Number, Deprecated) The maximal prefix length for networks in the network area for regioneu01.min_prefix_length(Number, Deprecated) The minimal prefix length for networks in the network area for regioneu01.network_ranges(Attributes List, Deprecated) List of Network ranges for configuration of network area for regioneu01. (see below for nested schema)transfer_network(String, Deprecated) Classless Inter-Domain Routing (CIDR) for configuration of network area for regioneu01.
Read-Only
id(String) Terraform's internal resource ID. It is structured as "organization_id,network_area_id".network_area_id(String) The network area ID.project_count(Number) The amount of projects currently referencing this area.
Nested Schema for network_ranges
Required:
prefix(String, Deprecated) Classless Inter-Domain Routing (CIDR).
Read-Only:
network_range_id(String, Deprecated)