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
-> Some attributes might not be returned depending on if you're an admin or not. Please refer to [Gitlab documentation](https://docs.gitlab.com/ce/api/users.html#single-user) for more details.
Copy file name to clipboardExpand all lines: docs/resources/branch_protection.md
+20-2Lines changed: 20 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
This resource allows you to protect a specific branch by an access level so that the user with less access level cannot Merge/Push to the branch.
4
4
5
-
-> The `allowed_to_push`, `allowed_to_merge` and `code_owner_approval_required` arguments require a GitLab Premium account or above.
5
+
-> The `allowed_to_push`, `allowed_to_merge` and `code_owner_approval_required` arguments require a GitLab Premium account or above. Please refer to [Gitlab API documentation](https://docs.gitlab.com/ee/api/protected_branches.html) for further information.
Copy file name to clipboardExpand all lines: docs/resources/deploy_token.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# gitlab\_deploy\_token
2
2
3
-
This resource allows you to create and manage deploy token for your GitLab projects and groups.
3
+
This resource allows you to create and manage deploy token for your GitLab projects and groups. Please refer to [Gitlab documentation](https://docs.gitlab.com/ee/user/project/deploy_tokens/) for further information.
This resource allows you to create and manage multiple approval rules for your GitLab projects. For further information on approval rules, consult the [gitlab documentation](https://docs.gitlab.com/ee/api/merge_request_approvals.html#project-level-mr-approvals).
For further information on merge request approvals, consult the [GitLab API documentation](https://docs.gitlab.com/ee/api/merge_request_approvals.html#project-level-mr-approvals).
6
5
7
6
## Example Usage
8
7
@@ -39,10 +38,10 @@ also need to be included in the approvers list in order to be able to approve th
39
38
40
39
## Import
41
40
42
-
You can import an approval configuration state using `terraform import <resource> <project_id>`.
41
+
You can import an approval configuration state using `terraform import <resource> <project_id>:<approval_rule_id>`.
0 commit comments