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/project.md
+18-2Lines changed: 18 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,19 +21,35 @@ The project data source.
21
21
22
22
### Read-Only
23
23
24
-
-`allow_modify_statement` (Boolean) Allow modifying statement after issue is created.
24
+
-`allow_request_role` (Boolean) Whether to allow requesting roles in this project.
25
25
-`allow_self_approval` (Boolean) Whether to allow the issue creator to self-approve the issue.
26
26
-`auto_enable_backup` (Boolean) Whether to automatically enable backup.
27
-
-`auto_resolve_issue` (Boolean) Enable auto resolve issue.
27
+
-`data_classification_config_id` (String) The data classification configuration ID for the project.
28
28
-`databases` (Set of String) The databases full name in the resource.
29
29
-`enforce_issue_title` (Boolean) Enforce issue title created by user instead of generated by Bytebase.
30
+
-`enforce_sql_review` (Boolean) Whether to enforce SQL review checks to pass before issue creation.
31
+
-`force_issue_labels` (Boolean) Force issue labels to be used when creating an issue.
30
32
-`id` (String) The ID of this resource.
33
+
-`issue_labels` (List of Object) Labels available for tagging issues in this project. (see [below for nested schema](#nestedatt--issue_labels))
34
+
-`labels` (Map of String) Labels are key-value pairs that can be attached to the project.
31
35
-`name` (String) The project full name in projects/{resource id} format.
32
36
-`postgres_database_tenant_mode` (Boolean) Whether to enable the database tenant mode for PostgreSQL. If enabled, the issue will be created with the pre-appended "set role <db_owner>" statement.
37
+
-`require_issue_approval` (Boolean) Whether to require issue approval before rollout.
38
+
-`require_plan_check_no_error` (Boolean) Whether to require plan check to have no error before rollout.
33
39
-`skip_backup_errors` (Boolean) Whether to skip backup errors and continue the data migration.
34
40
-`title` (String) The project title.
35
41
-`webhooks` (Set of Object) The webhooks in the project. (see [below for nested schema](#nestedatt--webhooks))
Copy file name to clipboardExpand all lines: docs/data-sources/setting.md
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -155,7 +155,6 @@ Optional:
155
155
-`external_url` (String) The URL user visits Bytebase. The external URL is used for: 1. Constructing the correct callback URL when configuring the VCS provider. The callback URL points to the frontend; 2. Creating the correct webhook endpoint when configuring the project GitOps workflow. The webhook endpoint points to the backend.
156
156
-`maximum_role_expiration_in_seconds` (Number) The max duration in seconds for role expired. If the value is less than or equal to 0, we will remove the setting. AKA no limit.
157
157
-`password_restriction` (Block List, Max: 1) Password restriction settings. (see [below for nested schema](#nestedblock--workspace_profile--password_restriction))
158
-
-`token_duration_in_seconds` (Number) The duration for login token in seconds. The duration should be at least 3600 (one hour).
159
158
-`watermark` (Boolean) Whether to display watermark on pages. Requires ENTERPRISE license.
Copy file name to clipboardExpand all lines: docs/resources/project.md
+21-2Lines changed: 21 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,16 +22,22 @@ The project resource.
22
22
23
23
### Optional
24
24
25
-
-`allow_modify_statement` (Boolean) Allow modifying statement after issue is created.
25
+
-`allow_request_role` (Boolean) Whether to allow requesting roles in this project.
26
26
-`allow_self_approval` (Boolean) Whether to allow the issue creator to self-approve the issue.
27
27
-`auto_enable_backup` (Boolean) Whether to automatically enable backup.
28
-
-`auto_resolve_issue` (Boolean) Enable auto resolve issue.
29
28
-`ci_sampling_size` (Number) The maximum databases of rows to sample during CI data validation. Without specification, sampling is disabled, resulting in a full validation.
29
+
-`data_classification_config_id` (String) The data classification configuration ID for the project.
30
30
-`databases` (Set of String) The databases full name in the resource.
31
31
-`enforce_issue_title` (Boolean) Enforce issue title created by user instead of generated by Bytebase.
32
+
-`enforce_sql_review` (Boolean) Whether to enforce SQL review checks to pass before issue creation. If enabled, issues cannot be created when SQL review finds errors.
32
33
-`execution_retry_policy` (Number) The maximum number of retries for the lock timeout issue.
34
+
-`force_issue_labels` (Boolean) Force issue labels to be used when creating an issue.
35
+
-`issue_labels` (Block List) Labels available for tagging issues in this project. (see [below for nested schema](#nestedblock--issue_labels))
36
+
-`labels` (Map of String) Labels are key-value pairs that can be attached to the project. For example, { "environment": "production", "team": "backend" }
33
37
-`parallel_tasks_per_rollout` (Number) The maximum number of parallel tasks to run during the rollout.
34
38
-`postgres_database_tenant_mode` (Boolean) Whether to enable the database tenant mode for PostgreSQL. If enabled, the issue will be created with the pre-appended "set role <db_owner>" statement.
39
+
-`require_issue_approval` (Boolean) Whether to require issue approval before rollout.
40
+
-`require_plan_check_no_error` (Boolean) Whether to require plan check to have no error before rollout.
35
41
-`skip_backup_errors` (Boolean) Whether to skip backup errors and continue the data migration.
36
42
-`webhooks` (Set of Object) The webhooks in the project. (see [below for nested schema](#nestedatt--webhooks))
37
43
@@ -40,6 +46,19 @@ The project resource.
40
46
-`id` (String) The ID of this resource.
41
47
-`name` (String) The project full name in projects/{resource id} format.
42
48
49
+
<aid="nestedblock--issue_labels"></a>
50
+
### Nested Schema for `issue_labels`
51
+
52
+
Required:
53
+
54
+
-`value` (String) The label value/name.
55
+
56
+
Optional:
57
+
58
+
-`color` (String) The color code for the label (e.g., hex color).
59
+
-`group` (String) The group this label belongs to.
Copy file name to clipboardExpand all lines: docs/resources/setting.md
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -212,7 +212,6 @@ Optional:
212
212
-`external_url` (String) The URL user visits Bytebase. The external URL is used for: 1. Constructing the correct callback URL when configuring the VCS provider. The callback URL points to the frontend; 2. Creating the correct webhook endpoint when configuring the project GitOps workflow. The webhook endpoint points to the backend.
213
213
-`maximum_role_expiration_in_seconds` (Number) The max duration in seconds for role expired. If the value is less than or equal to 0, we will remove the setting. AKA no limit.
214
214
-`password_restriction` (Block List, Max: 1) Password restriction settings. (see [below for nested schema](#nestedblock--workspace_profile--password_restriction))
215
-
-`token_duration_in_seconds` (Number) The duration for login token in seconds. The duration should be at least 3600 (one hour).
216
215
-`watermark` (Boolean) Whether to display watermark on pages. Requires ENTERPRISE license.
0 commit comments