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
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,11 @@ data "stackit_network" "example" {
27
27
-`network_id` (String) The network ID.
28
28
-`project_id` (String) STACKIT project ID to which the network is associated.
29
29
30
+
### Optional
31
+
32
+
-`region` (String) Can only be used when experimental "network" is set. This is likely going to undergo significant changes or be removed in the future.
33
+
The resource region. If not defined, the provider region is used.
34
+
30
35
### Read-Only
31
36
32
37
-`id` (String) Terraform's internal resource ID. It is structured as "`project_id`,`network_id`".
@@ -46,3 +51,5 @@ data "stackit_network" "example" {
46
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.
47
52
-`public_ip` (String) The public IP of the network.
48
53
-`routed` (Boolean) Shows if the network is routed and therefore accessible from other networks.
54
+
-`routing_table_id` (String) Can only be used when experimental "network" is set. This is likely going to undergo significant changes or be removed in the future. Use it at your own discretion.
55
+
The ID of the routing table associated with the network.
Copy file name to clipboardExpand all lines: docs/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -157,7 +157,7 @@ Note: AWS specific checks must be skipped as they do not work on STACKIT. For de
157
157
-`default_region` (String) Region will be used as the default location for regional services. Not all services require a region, some are global
158
158
-`dns_custom_endpoint` (String) Custom endpoint for the DNS service
159
159
-`enable_beta_resources` (Boolean) Enable beta resources. Default is false.
160
-
-`experiments` (List of String) Enables experiments. These are unstable features without official support. More information can be found in the README. Available Experiments: [iam routing-tables]
160
+
-`experiments` (List of String) Enables experiments. These are unstable features without official support. More information can be found in the README. Available Experiments: iam, routing-tables, network
161
161
-`git_custom_endpoint` (String) Custom endpoint for the Git service
162
162
-`iaas_custom_endpoint` (String) Custom endpoint for the IaaS service
163
163
-`loadbalancer_custom_endpoint` (String) Custom endpoint for the Load Balancer service
-`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.
64
64
-`no_ipv4_gateway` (Boolean) If set to `true`, the network doesn't have a gateway.
65
65
-`no_ipv6_gateway` (Boolean) If set to `true`, the network doesn't have a gateway.
66
+
-`region` (String) Can only be used when experimental "network" is set.
67
+
The resource region. If not defined, the provider region is used.
66
68
-`routed` (Boolean) If set to `true`, the network is routed and therefore accessible from other networks.
69
+
-`routing_table_id` (String) Can only be used when experimental "network" is set.
70
+
The ID of the routing table associated with the network.
errTitle:=fmt.Sprintf("The experiment %s does not exist.", experiment)
36
48
errContent:="This is a bug in the STACKIT Terraform Provider. Please open an issue here: https://github.com/stackitcloud/terraform-provider-stackit/issues"
@@ -46,12 +58,9 @@ func CheckExperimentEnabled(ctx context.Context, data *core.ProviderData, experi
46
58
warnContent:=fmt.Sprintf("This %s is part of the %s experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion.", resourceType, experiment)
0 commit comments