Project Approval Rule Args
Example Usage
Import
Starting in Terraform v1.5.0 you can use an import block to import gitlab_project_approval_rule
. For example: terraform import { to = gitlab_project_approval_rule.example id = "see CLI command below for ID" } Import using the CLI is supported using the following syntax: GitLab project approval rules can be imported using a key composed of <project-id>:<rule-id>
, e.g.
$ pulumi import gitlab:index/projectApprovalRule:ProjectApprovalRule example "12345:6"
Constructors
Properties
Whether the rule is applied to all protected branches. If set to 'true', the value of protected_branch_ids
is ignored. Default is 'false'.
The number of approvals required for this rule.
When this flag is set, the default any_approver
rule will not be imported if present.
A list of protected branch IDs (not branch names) for which the rule applies.
Report type is required when the rule_type is report_approver
. Valid values are code_coverage
.