Skip to content

Commit 52b879b

Browse files
authored
refactor(docs): remove duplicate util func to format possible values (#1050)
1 parent 64d6fa9 commit 52b879b

File tree

28 files changed

+30
-77
lines changed

28 files changed

+30
-77
lines changed

docs/data-sources/cdn_distribution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Read-Only:
6161
- `geofencing` (Map of List of String) A map of URLs to a list of countries where content is allowed.
6262
- `origin_request_headers` (Map of String) The configured origin request headers for the backend
6363
- `origin_url` (String) The configured backend type for the distribution
64-
- `type` (String) The configured backend type. Supported values are: `http`.
64+
- `type` (String) The configured backend type. Possible values are: `http`.
6565

6666

6767
<a id="nestedatt--config--optimizer"></a>

docs/data-sources/network_interface.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ data "stackit_network_interface" "example" {
4040
- `name` (String) The name of the network interface.
4141
- `security` (Boolean) The Network Interface Security. If set to false, then no security groups will apply to this network interface.
4242
- `security_group_ids` (List of String) The list of security group UUIDs. If security is set to false, setting this field will lead to an error.
43-
- `type` (String) Type of network interface. Some of the possible values are: Supported values are: `server`, `metadata`, `gateway`.
43+
- `type` (String) Type of network interface. Some of the possible values are: Possible values are: `server`, `metadata`, `gateway`.

docs/data-sources/security_group_rule.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ data "stackit_security_group_rule" "example" {
3232
### Read-Only
3333

3434
- `description` (String) The description of the security group rule.
35-
- `direction` (String) The direction of the traffic which the rule should match. Some of the possible values are: Supported values are: `ingress`, `egress`.
35+
- `direction` (String) The direction of the traffic which the rule should match. Some of the possible values are: Possible values are: `ingress`, `egress`.
3636
- `ether_type` (String) The ethertype which the rule should match.
3737
- `icmp_parameters` (Attributes) ICMP Parameters. (see [below for nested schema](#nestedatt--icmp_parameters))
3838
- `id` (String) Terraform's internal datasource ID. It is structured as "`project_id`,`security_group_id`,`security_group_rule_id`".

docs/data-sources/volume.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ data "stackit_volume" "example" {
4545
Read-Only:
4646

4747
- `id` (String) The ID of the source, e.g. image ID
48-
- `type` (String) The type of the source. Supported values are: `volume`, `image`, `snapshot`, `backup`.
48+
- `type` (String) The type of the source. Possible values are: `volume`, `image`, `snapshot`, `backup`.

docs/resources/cdn_distribution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Optional:
7979
Required:
8080

8181
- `origin_url` (String) The configured backend type for the distribution
82-
- `type` (String) The configured backend type. Supported values are: `http`.
82+
- `type` (String) The configured backend type. Possible values are: `http`.
8383

8484
Optional:
8585

docs/resources/dns_zone.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ import {
5353
- `primaries` (List of String) Primary name server for secondary zone. E.g. ["1.2.3.4"]
5454
- `refresh_time` (Number) Refresh time. E.g. 3600
5555
- `retry_time` (Number) Retry time. E.g. 600
56-
- `type` (String) Zone type. Defaults to `primary`. Supported values are: `primary`, `secondary`.
56+
- `type` (String) Zone type. Defaults to `primary`. Possible values are: `primary`, `secondary`.
5757

5858
### Read-Only
5959

docs/resources/loadbalancer.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ import {
254254
Required:
255255

256256
- `port` (Number) Port number where we listen for traffic.
257-
- `protocol` (String) Protocol is the highest network protocol we understand to load balance. Supported values are: `PROTOCOL_UNSPECIFIED`, `PROTOCOL_TCP`, `PROTOCOL_UDP`, `PROTOCOL_TCP_PROXY`, `PROTOCOL_TLS_PASSTHROUGH`.
257+
- `protocol` (String) Protocol is the highest network protocol we understand to load balance. Possible values are: `PROTOCOL_UNSPECIFIED`, `PROTOCOL_TCP`, `PROTOCOL_UDP`, `PROTOCOL_TCP_PROXY`, `PROTOCOL_TLS_PASSTHROUGH`.
258258
- `target_pool` (String) Reference target pool by target pool name.
259259

260260
Optional:
@@ -295,7 +295,7 @@ Optional:
295295
Required:
296296

297297
- `network_id` (String) Openstack network ID.
298-
- `role` (String) The role defines how the load balancer is using the network. Supported values are: `ROLE_UNSPECIFIED`, `ROLE_LISTENERS_AND_TARGETS`, `ROLE_LISTENERS`, `ROLE_TARGETS`.
298+
- `role` (String) The role defines how the load balancer is using the network. Possible values are: `ROLE_UNSPECIFIED`, `ROLE_LISTENERS_AND_TARGETS`, `ROLE_LISTENERS`, `ROLE_TARGETS`.
299299

300300

301301
<a id="nestedatt--target_pools"></a>

docs/resources/mongodbflex_instance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Read-Only:
8686
Required:
8787

8888
- `point_in_time_window_hours` (Number) The number of hours back in time the point-in-time recovery feature will be able to recover.
89-
- `type` (String) Type of the MongoDB Flex instance. Supported values are: `Replica`, `Sharded`, `Single`.
89+
- `type` (String) Type of the MongoDB Flex instance. Possible values are: `Replica`, `Sharded`, `Single`.
9090

9191
Optional:
9292

docs/resources/network_interface.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ import {
5050
- `id` (String) Terraform's internal resource ID. It is structured as "`project_id`,`network_id`,`network_interface_id`".
5151
- `mac` (String) The MAC address of network interface.
5252
- `network_interface_id` (String) The network interface ID.
53-
- `type` (String) Type of network interface. Some of the possible values are: Supported values are: `server`, `metadata`, `gateway`.
53+
- `type` (String) Type of network interface. Some of the possible values are: Possible values are: `server`, `metadata`, `gateway`.

docs/resources/postgresflex_user.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import {
3434

3535
- `instance_id` (String) ID of the PostgresFlex instance.
3636
- `project_id` (String) STACKIT project ID to which the instance is associated.
37-
- `roles` (Set of String) Database access levels for the user. Supported values are: `login`, `createdb`.
37+
- `roles` (Set of String) Database access levels for the user. Possible values are: `login`, `createdb`.
3838
- `username` (String)
3939

4040
### Optional

0 commit comments

Comments
 (0)