64 lines
2 KiB
Markdown
64 lines
2 KiB
Markdown
---
|
|
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
|
page_title: "stackit_network_area Resource - stackit"
|
|
subcategory: ""
|
|
description: |-
|
|
Network area resource schema. Must have a region specified in the provider configuration.
|
|
---
|
|
|
|
# stackit_network_area (Resource)
|
|
|
|
Network area resource schema. Must have a `region` specified in the provider configuration.
|
|
|
|
## Example Usage
|
|
|
|
```terraform
|
|
resource "stackit_network_area" "example" {
|
|
organization_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
|
name = "example-network-area"
|
|
network_ranges = [
|
|
{
|
|
prefix = "192.168.0.0/24"
|
|
}
|
|
]
|
|
transfer_network = "192.168.1.0/24"
|
|
labels = {
|
|
"key" = "value"
|
|
}
|
|
}
|
|
```
|
|
|
|
<!-- schema generated by tfplugindocs -->
|
|
## Schema
|
|
|
|
### Required
|
|
|
|
- `name` (String) The name of the network area.
|
|
- `network_ranges` (Attributes List) List of Network ranges. (see [below for nested schema](#nestedatt--network_ranges))
|
|
- `organization_id` (String) STACKIT organization ID to which the network area is associated.
|
|
- `transfer_network` (String) Classless Inter-Domain Routing (CIDR).
|
|
|
|
### Optional
|
|
|
|
- `default_nameservers` (List of String) List of DNS Servers/Nameservers.
|
|
- `default_prefix_length` (Number) The default prefix length for networks in the network area.
|
|
- `labels` (Map of String) Labels are key-value string pairs which can be attached to a resource container
|
|
- `max_prefix_length` (Number) The maximal prefix length for networks in the network area.
|
|
- `min_prefix_length` (Number) The minimal prefix length for networks in the network area.
|
|
|
|
### 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.
|
|
|
|
<a id="nestedatt--network_ranges"></a>
|
|
### Nested Schema for `network_ranges`
|
|
|
|
Required:
|
|
|
|
- `prefix` (String) Classless Inter-Domain Routing (CIDR).
|
|
|
|
Read-Only:
|
|
|
|
- `network_range_id` (String)
|