Skip to content

Commit 97c346d

Browse files
authored
chore: migration doc (#171)
* chore: migration doc * chore: update docs
1 parent 869d162 commit 97c346d

File tree

26 files changed

+437
-53
lines changed

26 files changed

+437
-53
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.15.0
1+
3.15.1

docs/data-sources/iam_policy.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,18 @@ Optional:
4040
Optional:
4141

4242
- `condition` (Block Set) Match the condition limit. (see [below for nested schema](#nestedblock--iam_policy--binding--condition))
43-
- `members` (Set of String) A set of memebers. The value can be "allUsers", "user:{email}" or "group:{email}".
43+
- `members` (Set of String) A set of memebers. The value can be "allUsers", "user:{email}", "group:{email}", "serviceAccount:{email}" or "workloadIdentity:{email}".
4444
- `role` (String) The role full name in roles/{id} format.
4545

4646
<a id="nestedblock--iam_policy--binding--condition"></a>
4747
### Nested Schema for `iam_policy.binding.condition`
4848

4949
Optional:
5050

51-
- `database` (String) The accessible database full name in instances/{instance resource id}/databases/{database name} format
51+
- `database` (String) The accessible database full name in instances/{instance resource id}/databases/{database name} format. Only works for the role with bb.sql.x permissions.
52+
- `environment_ids` (Set of String) The environment ID list to allow the DDL/DML operation in the SQL Editor. Only works for the role with bb.sql.ddl or bb.sql.dml permissions.
5253
- `expire_timestamp` (String) The expiration timestamp in YYYY-MM-DDThh:mm:ssZ format
53-
- `schema` (String) The accessible schema in the database
54-
- `tables` (Set of String) The accessible table list
54+
- `schema` (String) The accessible schema in the database. Must configure with the database.
55+
- `tables` (Set of String) The accessible table list. Must configure with the database.
5556

5657

docs/resources/iam_policy.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,18 @@ Optional:
4040
Optional:
4141

4242
- `condition` (Block Set) Match the condition limit. (see [below for nested schema](#nestedblock--iam_policy--binding--condition))
43-
- `members` (Set of String) A set of memebers. The value can be "allUsers", "user:{email}" or "group:{email}".
43+
- `members` (Set of String) A set of memebers. The value can be "allUsers", "user:{email}", "group:{email}", "serviceAccount:{email}" or "workloadIdentity:{email}".
4444
- `role` (String) The role full name in roles/{id} format.
4545

4646
<a id="nestedblock--iam_policy--binding--condition"></a>
4747
### Nested Schema for `iam_policy.binding.condition`
4848

4949
Optional:
5050

51-
- `database` (String) The accessible database full name in instances/{instance resource id}/databases/{database name} format
51+
- `database` (String) The accessible database full name in instances/{instance resource id}/databases/{database name} format. Only works for the role with bb.sql.x permissions.
52+
- `environment_ids` (Set of String) The environment ID list to allow the DDL/DML operation in the SQL Editor. Only works for the role with bb.sql.ddl or bb.sql.dml permissions.
5253
- `expire_timestamp` (String) The expiration timestamp in YYYY-MM-DDThh:mm:ssZ format
53-
- `schema` (String) The accessible schema in the database
54-
- `tables` (Set of String) The accessible table list
54+
- `schema` (String) The accessible schema in the database. Must configure with the database.
55+
- `tables` (Set of String) The accessible table list. Must configure with the database.
5556

5657

examples/approval/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.15.0"
4+
version = "3.15.1"
55
# For local development, please use "terraform.local/bytebase/bytebase" instead
66
source = "terraform.local/bytebase/bytebase"
77
}

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.15.0"
5+
version = "3.15.1"
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.15.0"
4+
version = "3.15.1"
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.15.0"
4+
version = "3.15.1"
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.15.0"
4+
version = "3.15.1"
55
# For local development, please use "terraform.local/bytebase/bytebase" instead
66
source = "registry.terraform.io/bytebase/bytebase"
77
}

examples/iamPolicy/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.15.0"
4+
version = "3.15.1"
55
# For local development, please use "terraform.local/bytebase/bytebase" instead
66
source = "registry.terraform.io/bytebase/bytebase"
77
}

examples/instances/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.15.0"
5+
version = "3.15.1"
66
# For local development, please use "terraform.local/bytebase/bytebase" instead
77
source = "registry.terraform.io/bytebase/bytebase"
88
}

0 commit comments

Comments
 (0)