Skip to content

Commit f5223af

Browse files
authored
fix: use list instead of set (#125)
* chore: support more environment policy * fix: lint * fix: use list instead of set * chore: optimize review update
1 parent 619e80d commit f5223af

File tree

25 files changed

+74
-71
lines changed

25 files changed

+74
-71
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.8.1
1+
3.8.2

docs/data-sources/review_config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The review config data source.
2121
- `id` (String) The ID of this resource.
2222
- `resource_id` (String) The unique resource id for the review config.
2323
- `resources` (Set of String) Resources using the config. We support attach the review config for environments or projects with format {resurce}/{resource id}. For example, environments/test, projects/sample.
24-
- `rules` (Set of Object) The SQL review rules. (see [below for nested schema](#nestedatt--rules))
24+
- `rules` (List of Object) The SQL review rules. (see [below for nested schema](#nestedatt--rules))
2525
- `title` (String) The title for the review config.
2626

2727
<a id="nestedatt--rules"></a>

docs/data-sources/review_config_list.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Read-Only:
2828
- `enabled` (Boolean)
2929
- `resource_id` (String)
3030
- `resources` (Set of String)
31-
- `rules` (Set of Object) (see [below for nested schema](#nestedobjatt--review_configs--rules))
31+
- `rules` (List of Object) (see [below for nested schema](#nestedobjatt--review_configs--rules))
3232
- `title` (String)
3333

3434
<a id="nestedobjatt--review_configs--rules"></a>

docs/data-sources/setting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The setting data source.
3636

3737
Required:
3838

39-
- `classifications` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--classification--classifications))
39+
- `classifications` (Block List, Min: 1) (see [below for nested schema](#nestedblock--classification--classifications))
4040
- `id` (String) The classification unique uuid.
4141
- `levels` (Block List, Min: 1) (see [below for nested schema](#nestedblock--classification--levels))
4242
- `title` (String) The classification title. Optional.

docs/resources/review_config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The review config resource.
1919

2020
- `enabled` (Boolean) Enable the SQL review config
2121
- `resource_id` (String) The unique resource id for the review config.
22-
- `rules` (Block Set, Min: 1) The SQL review rules. (see [below for nested schema](#nestedblock--rules))
22+
- `rules` (Block List, Min: 1) The SQL review rules. (see [below for nested schema](#nestedblock--rules))
2323
- `title` (String) The title for the review config.
2424

2525
### Optional

docs/resources/setting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Optional:
8686

8787
Required:
8888

89-
- `classifications` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--classification--classifications))
89+
- `classifications` (Block List, Min: 1) (see [below for nested schema](#nestedblock--classification--classifications))
9090
- `id` (String) The classification unique uuid.
9191
- `levels` (Block List, Min: 1) (see [below for nested schema](#nestedblock--classification--levels))
9292
- `title` (String) The classification title. Optional.

examples/database/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
terraform {
33
required_providers {
44
bytebase = {
5-
version = "3.8.1"
5+
version = "3.8.2"
66
# For local development, please use "terraform.local/bytebase/bytebase" instead
77
source = "registry.terraform.io/bytebase/bytebase"
88
}

examples/database_group/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
terraform {
22
required_providers {
33
bytebase = {
4-
version = "3.8.1"
4+
version = "3.8.2"
55
# For local development, please use "terraform.local/bytebase/bytebase" instead
66
source = "registry.terraform.io/bytebase/bytebase"
77
}

examples/environments/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
terraform {
22
required_providers {
33
bytebase = {
4-
version = "3.8.1"
4+
version = "3.8.2"
55
# For local development, please use "terraform.local/bytebase/bytebase" instead
66
source = "registry.terraform.io/bytebase/bytebase"
77
}

examples/groups/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
terraform {
22
required_providers {
33
bytebase = {
4-
version = "3.8.1"
4+
version = "3.8.2"
55
# For local development, please use "terraform.local/bytebase/bytebase" instead
66
source = "registry.terraform.io/bytebase/bytebase"
77
}

0 commit comments

Comments
 (0)