File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
examples/resources/gitlab_project_approval_rule Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -58,8 +58,8 @@ resource "gitlab_project_approval_rule" "example-three" {
58
58
user_ids = [for user in data.gitlab_user.users : user.id]
59
59
}
60
60
61
- # Example using `approval_rule`
62
- resource "gitlab_branch_protection " "any-approver " {
61
+ # Example using `approval_rule` using `any_approver` as rule type
62
+ resource "gitlab_project_approval_rule " "any_approver " {
63
63
project = 5
64
64
name = "Any name"
65
65
rule_type = "any_approver"
Original file line number Diff line number Diff line change @@ -37,8 +37,8 @@ resource "gitlab_project_approval_rule" "example-three" {
37
37
user_ids = [for user in data . gitlab_user . users : user . id ]
38
38
}
39
39
40
- # Example using `approval_rule`
41
- resource "gitlab_branch_protection " "any-approver " {
40
+ # Example using `approval_rule` using `any_approver` as rule type
41
+ resource "gitlab_project_approval_rule " "any_approver " {
42
42
project = 5
43
43
name = " Any name"
44
44
rule_type = " any_approver"
You can’t perform that action at this time.
0 commit comments