You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/data-sources/network.md
-2Lines changed: 0 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,8 +47,6 @@ data "stackit_network" "example" {
47
47
-`ipv6_prefixes` (List of String) The IPv6 prefixes of the network.
48
48
-`labels` (Map of String) Labels are key-value string pairs which can be attached to a resource container
49
49
-`name` (String) The name of the network.
50
-
-`nameservers` (List of String, Deprecated) The nameservers of the network. This field is deprecated and will be removed soon, use `ipv4_nameservers` to configure the nameservers for IPv4.
51
-
-`prefixes` (List of String, Deprecated) The prefixes of the network. This field is deprecated and will be removed soon, use `ipv4_prefixes` to read the prefixes of the IPv4 networks.
52
50
-`public_ip` (String) The public IP of the network.
53
51
-`routed` (Boolean) Shows if the network is routed and therefore accessible from other networks.
54
52
-`routing_table_id` (String) The ID of the routing table associated with the network.
Network resource schema. Must have a region specified in the provider configuration.
7
-
~> Behavior of not configured ipv4_nameservers will change from January 2026. When ipv4_nameservers is not set, it will be set to the network area's default_nameservers.
7
+
~> Behavior of not configured ipv4_nameservers has changed. When ipv4_nameservers is not set, it will be set to the network area's default_nameservers.
8
8
To prevent any nameserver configuration, the ipv4_nameservers attribute should be explicitly set to an empty list [].
9
9
In cases where ipv4_nameservers are defined within the resource, the existing behavior will remain unchanged.
10
10
---
11
11
12
12
# stackit_network (Resource)
13
13
14
14
Network resource schema. Must have a `region` specified in the provider configuration.
15
-
~> Behavior of not configured `ipv4_nameservers`will change from January 2026. When `ipv4_nameservers` is not set, it will be set to the network area's `default_nameservers`.
15
+
~> Behavior of not configured `ipv4_nameservers`has changed. When `ipv4_nameservers` is not set, it will be set to the network area's `default_nameservers`.
16
16
To prevent any nameserver configuration, the `ipv4_nameservers` attribute should be explicitly set to an empty list `[]`.
17
17
In cases where `ipv4_nameservers` are defined within the resource, the existing behavior will remain unchanged.
18
18
@@ -66,15 +66,14 @@ import {
66
66
67
67
-`dhcp` (Boolean) If the network has DHCP enabled. Default value is `true`.
68
68
-`ipv4_gateway` (String) The IPv4 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway.
69
-
-`ipv4_nameservers` (List of String) The IPv4 nameservers of the network.
69
+
-`ipv4_nameservers` (List of String) The IPv4 nameservers of the network. If not specified on creation, it will be set with the default nameservers from the network area. If not specified on update, it will remain unchanged.
70
70
-`ipv4_prefix` (String) The IPv4 prefix of the network (CIDR).
71
71
-`ipv4_prefix_length` (Number) The IPv4 prefix length of the network.
72
72
-`ipv6_gateway` (String) The IPv6 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway.
73
73
-`ipv6_nameservers` (List of String) The IPv6 nameservers of the network.
74
74
-`ipv6_prefix` (String) The IPv6 prefix of the network (CIDR).
75
75
-`ipv6_prefix_length` (Number) The IPv6 prefix length of the network.
76
76
-`labels` (Map of String) Labels are key-value string pairs which can be attached to a resource container
77
-
-`nameservers` (List of String, Deprecated) The nameservers of the network. This field is deprecated and will be removed in January 2026, use `ipv4_nameservers` to configure the nameservers for IPv4.
78
77
-`no_ipv4_gateway` (Boolean) If set to `true`, the network doesn't have a gateway.
79
78
-`no_ipv6_gateway` (Boolean) If set to `true`, the network doesn't have a gateway.
80
79
-`region` (String) The resource region. If not defined, the provider region is used.
@@ -87,5 +86,4 @@ import {
87
86
-`ipv4_prefixes` (List of String) The IPv4 prefixes of the network.
88
87
-`ipv6_prefixes` (List of String) The IPv6 prefixes of the network.
89
88
-`network_id` (String) The network ID.
90
-
-`prefixes` (List of String, Deprecated) The prefixes of the network. This field is deprecated and will be removed in January 2026, use `ipv4_prefixes` to read the prefixes of the IPv4 networks.
91
89
-`public_ip` (String) The public IP of the network.
Description: "The nameservers of the network. This field is deprecated and will be removed soon, use `ipv4_nameservers` to configure the nameservers for IPv4.",
120
-
DeprecationMessage: "Use `ipv4_nameservers` to configure the nameservers for IPv4.",
121
-
Computed: true,
122
-
ElementType: types.StringType,
123
-
},
124
116
"ipv4_gateway": schema.StringAttribute{
125
117
Description: "The IPv4 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway.",
Description: "The IPv4 prefix length of the network.",
140
132
Computed: true,
141
133
},
142
-
"prefixes": schema.ListAttribute{
143
-
Description: "The prefixes of the network. This field is deprecated and will be removed soon, use `ipv4_prefixes` to read the prefixes of the IPv4 networks.",
144
-
DeprecationMessage: "Use `ipv4_prefixes` to read the prefixes of the IPv4 networks.",
0 commit comments