Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions docs/data-sources/network.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ data "stackit_network" "example" {

### Optional

- `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.
The resource region. If not defined, the provider region is used.
- `region` (String) The resource region. If not defined, the provider region is used.

### Read-Only

Expand All @@ -51,5 +50,4 @@ The resource region. If not defined, the provider region is used.
- `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.
- `public_ip` (String) The public IP of the network.
- `routed` (Boolean) Shows if the network is routed and therefore accessible from other networks.
- `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.
The ID of the routing table associated with the network.
- `routing_table_id` (String) The ID of the routing table associated with the network.
4 changes: 2 additions & 2 deletions stackit/internal/services/iaas/network/datasource.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,10 @@ func (d *networkDataSource) Schema(_ context.Context, _ datasource.SchemaRequest
"region": schema.StringAttribute{
// the region cannot be found, so it has to be passed
Optional: true,
Description: "Can only be used when experimental \"network\" is set. This is likely going to undergo significant changes or be removed in the future.\nThe resource region. If not defined, the provider region is used.",
Description: "The resource region. If not defined, the provider region is used.",
},
"routing_table_id": schema.StringAttribute{
Description: "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.\nThe ID of the routing table associated with the network.",
Description: "The ID of the routing table associated with the network.",
Computed: true,
Validators: []validator.String{
validate.UUID(),
Expand Down
Loading