gitlab.BranchProtection
Explore with Pulumi AI
Import
Gitlab protected branches can be imported with a key composed of <project_id>:<branch>
, e.g.
$ pulumi import gitlab:index/branchProtection:BranchProtection BranchProtect "12345:main"
Example Usage
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gitlab.BranchProtection;
import com.pulumi.gitlab.BranchProtectionArgs;
import com.pulumi.gitlab.inputs.BranchProtectionAllowedToPushArgs;
import com.pulumi.gitlab.inputs.BranchProtectionAllowedToMergeArgs;
import com.pulumi.gitlab.inputs.BranchProtectionAllowedToUnprotectArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var branchProtect = new BranchProtection("branchProtect", BranchProtectionArgs.builder()
.project("12345")
.branch("BranchProtected")
.pushAccessLevel("developer")
.mergeAccessLevel("developer")
.unprotectAccessLevel("developer")
.allowForcePush(true)
.codeOwnerApprovalRequired(true)
.allowedToPushes(
BranchProtectionAllowedToPushArgs.builder()
.userId(5)
.build(),
BranchProtectionAllowedToPushArgs.builder()
.userId(521)
.build())
.allowedToMerges(
BranchProtectionAllowedToMergeArgs.builder()
.userId(15)
.build(),
BranchProtectionAllowedToMergeArgs.builder()
.userId(37)
.build())
.allowedToUnprotects(
BranchProtectionAllowedToUnprotectArgs.builder()
.userId(15)
.build(),
BranchProtectionAllowedToUnprotectArgs.builder()
.groupId(42)
.build())
.build());
var main = new BranchProtection("main", BranchProtectionArgs.builder()
.project("12345")
.branch("main")
.pushAccessLevel("maintainer")
.mergeAccessLevel("maintainer")
.unprotectAccessLevel("maintainer")
.dynamic(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
}
}
Coming soon!
Coming soon!
resources:
branchProtect:
type: gitlab:BranchProtection
properties:
project: '12345'
branch: BranchProtected
pushAccessLevel: developer
mergeAccessLevel: developer
unprotectAccessLevel: developer
allowForcePush: true
codeOwnerApprovalRequired: true
allowedToPushes:
- userId: 5
- userId: 521
allowedToMerges:
- userId: 15
- userId: 37
allowedToUnprotects:
- userId: 15
- groupId: 42
# Example using dynamic block
main:
type: gitlab:BranchProtection
properties:
project: '12345'
branch: main
pushAccessLevel: maintainer
mergeAccessLevel: maintainer
unprotectAccessLevel: maintainer
dynamic:
- forEach:
- 50
- 55
- 60
content:
- userId: ${allowed_to_push.value}
Create BranchProtection Resource
new BranchProtection(name: string, args: BranchProtectionArgs, opts?: CustomResourceOptions);
@overload
def BranchProtection(resource_name: str,
opts: Optional[ResourceOptions] = None,
allow_force_push: Optional[bool] = None,
allowed_to_merges: Optional[Sequence[BranchProtectionAllowedToMergeArgs]] = None,
allowed_to_pushes: Optional[Sequence[BranchProtectionAllowedToPushArgs]] = None,
allowed_to_unprotects: Optional[Sequence[BranchProtectionAllowedToUnprotectArgs]] = None,
branch: Optional[str] = None,
code_owner_approval_required: Optional[bool] = None,
merge_access_level: Optional[str] = None,
project: Optional[str] = None,
push_access_level: Optional[str] = None,
unprotect_access_level: Optional[str] = None)
@overload
def BranchProtection(resource_name: str,
args: BranchProtectionArgs,
opts: Optional[ResourceOptions] = None)
func NewBranchProtection(ctx *Context, name string, args BranchProtectionArgs, opts ...ResourceOption) (*BranchProtection, error)
public BranchProtection(string name, BranchProtectionArgs args, CustomResourceOptions? opts = null)
public BranchProtection(String name, BranchProtectionArgs args)
public BranchProtection(String name, BranchProtectionArgs args, CustomResourceOptions options)
type: gitlab:BranchProtection
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BranchProtectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args BranchProtectionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args BranchProtectionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BranchProtectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BranchProtectionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
BranchProtection Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The BranchProtection resource accepts the following input properties:
- Branch string
Name of the branch.
- Project string
The id of the project.
- Allow
Force boolPush Can be set to true to allow users with push access to force push.
- Allowed
To List<Pulumi.Merges Git Lab. Inputs. Branch Protection Allowed To Merge> Defines permissions for action.
- Allowed
To List<Pulumi.Pushes Git Lab. Inputs. Branch Protection Allowed To Push> Defines permissions for action.
- Allowed
To List<Pulumi.Unprotects Git Lab. Inputs. Branch Protection Allowed To Unprotect> Defines permissions for action.
- Code
Owner boolApproval Required Can be set to true to require code owner approval before merging. Only available own Premium and Ultimate instances.
- Merge
Access stringLevel Access levels allowed to merge. Valid values are:
no one
,developer
,maintainer
.- Push
Access stringLevel Access levels allowed to push. Valid values are:
no one
,developer
,maintainer
.- Unprotect
Access stringLevel Access levels allowed to unprotect. Valid values are:
developer
,maintainer
,admin
.
- Branch string
Name of the branch.
- Project string
The id of the project.
- Allow
Force boolPush Can be set to true to allow users with push access to force push.
- Allowed
To []BranchMerges Protection Allowed To Merge Args Defines permissions for action.
- Allowed
To []BranchPushes Protection Allowed To Push Args Defines permissions for action.
- Allowed
To []BranchUnprotects Protection Allowed To Unprotect Args Defines permissions for action.
- Code
Owner boolApproval Required Can be set to true to require code owner approval before merging. Only available own Premium and Ultimate instances.
- Merge
Access stringLevel Access levels allowed to merge. Valid values are:
no one
,developer
,maintainer
.- Push
Access stringLevel Access levels allowed to push. Valid values are:
no one
,developer
,maintainer
.- Unprotect
Access stringLevel Access levels allowed to unprotect. Valid values are:
developer
,maintainer
,admin
.
- branch String
Name of the branch.
- project String
The id of the project.
- allow
Force BooleanPush Can be set to true to allow users with push access to force push.
- allowed
To List<BranchMerges Protection Allowed To Merge> Defines permissions for action.
- allowed
To List<BranchPushes Protection Allowed To Push> Defines permissions for action.
- allowed
To List<BranchUnprotects Protection Allowed To Unprotect> Defines permissions for action.
- code
Owner BooleanApproval Required Can be set to true to require code owner approval before merging. Only available own Premium and Ultimate instances.
- merge
Access StringLevel Access levels allowed to merge. Valid values are:
no one
,developer
,maintainer
.- push
Access StringLevel Access levels allowed to push. Valid values are:
no one
,developer
,maintainer
.- unprotect
Access StringLevel Access levels allowed to unprotect. Valid values are:
developer
,maintainer
,admin
.
- branch string
Name of the branch.
- project string
The id of the project.
- allow
Force booleanPush Can be set to true to allow users with push access to force push.
- allowed
To BranchMerges Protection Allowed To Merge[] Defines permissions for action.
- allowed
To BranchPushes Protection Allowed To Push[] Defines permissions for action.
- allowed
To BranchUnprotects Protection Allowed To Unprotect[] Defines permissions for action.
- code
Owner booleanApproval Required Can be set to true to require code owner approval before merging. Only available own Premium and Ultimate instances.
- merge
Access stringLevel Access levels allowed to merge. Valid values are:
no one
,developer
,maintainer
.- push
Access stringLevel Access levels allowed to push. Valid values are:
no one
,developer
,maintainer
.- unprotect
Access stringLevel Access levels allowed to unprotect. Valid values are:
developer
,maintainer
,admin
.
- branch str
Name of the branch.
- project str
The id of the project.
- allow_
force_ boolpush Can be set to true to allow users with push access to force push.
- allowed_
to_ Sequence[Branchmerges Protection Allowed To Merge Args] Defines permissions for action.
- allowed_
to_ Sequence[Branchpushes Protection Allowed To Push Args] Defines permissions for action.
- allowed_
to_ Sequence[Branchunprotects Protection Allowed To Unprotect Args] Defines permissions for action.
- code_
owner_ boolapproval_ required Can be set to true to require code owner approval before merging. Only available own Premium and Ultimate instances.
- merge_
access_ strlevel Access levels allowed to merge. Valid values are:
no one
,developer
,maintainer
.- push_
access_ strlevel Access levels allowed to push. Valid values are:
no one
,developer
,maintainer
.- unprotect_
access_ strlevel Access levels allowed to unprotect. Valid values are:
developer
,maintainer
,admin
.
- branch String
Name of the branch.
- project String
The id of the project.
- allow
Force BooleanPush Can be set to true to allow users with push access to force push.
- allowed
To List<Property Map>Merges Defines permissions for action.
- allowed
To List<Property Map>Pushes Defines permissions for action.
- allowed
To List<Property Map>Unprotects Defines permissions for action.
- code
Owner BooleanApproval Required Can be set to true to require code owner approval before merging. Only available own Premium and Ultimate instances.
- merge
Access StringLevel Access levels allowed to merge. Valid values are:
no one
,developer
,maintainer
.- push
Access StringLevel Access levels allowed to push. Valid values are:
no one
,developer
,maintainer
.- unprotect
Access StringLevel Access levels allowed to unprotect. Valid values are:
developer
,maintainer
,admin
.
Outputs
All input properties are implicitly available as output properties. Additionally, the BranchProtection resource produces the following output properties:
- Branch
Protection intId The ID of the branch protection (not the branch name).
- Id string
The provider-assigned unique ID for this managed resource.
- Branch
Protection intId The ID of the branch protection (not the branch name).
- Id string
The provider-assigned unique ID for this managed resource.
- branch
Protection IntegerId The ID of the branch protection (not the branch name).
- id String
The provider-assigned unique ID for this managed resource.
- branch
Protection numberId The ID of the branch protection (not the branch name).
- id string
The provider-assigned unique ID for this managed resource.
- branch_
protection_ intid The ID of the branch protection (not the branch name).
- id str
The provider-assigned unique ID for this managed resource.
- branch
Protection NumberId The ID of the branch protection (not the branch name).
- id String
The provider-assigned unique ID for this managed resource.
Look up Existing BranchProtection Resource
Get an existing BranchProtection resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: BranchProtectionState, opts?: CustomResourceOptions): BranchProtection
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
allow_force_push: Optional[bool] = None,
allowed_to_merges: Optional[Sequence[BranchProtectionAllowedToMergeArgs]] = None,
allowed_to_pushes: Optional[Sequence[BranchProtectionAllowedToPushArgs]] = None,
allowed_to_unprotects: Optional[Sequence[BranchProtectionAllowedToUnprotectArgs]] = None,
branch: Optional[str] = None,
branch_protection_id: Optional[int] = None,
code_owner_approval_required: Optional[bool] = None,
merge_access_level: Optional[str] = None,
project: Optional[str] = None,
push_access_level: Optional[str] = None,
unprotect_access_level: Optional[str] = None) -> BranchProtection
func GetBranchProtection(ctx *Context, name string, id IDInput, state *BranchProtectionState, opts ...ResourceOption) (*BranchProtection, error)
public static BranchProtection Get(string name, Input<string> id, BranchProtectionState? state, CustomResourceOptions? opts = null)
public static BranchProtection get(String name, Output<String> id, BranchProtectionState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Allow
Force boolPush Can be set to true to allow users with push access to force push.
- Allowed
To List<Pulumi.Merges Git Lab. Inputs. Branch Protection Allowed To Merge> Defines permissions for action.
- Allowed
To List<Pulumi.Pushes Git Lab. Inputs. Branch Protection Allowed To Push> Defines permissions for action.
- Allowed
To List<Pulumi.Unprotects Git Lab. Inputs. Branch Protection Allowed To Unprotect> Defines permissions for action.
- Branch string
Name of the branch.
- Branch
Protection intId The ID of the branch protection (not the branch name).
- Code
Owner boolApproval Required Can be set to true to require code owner approval before merging. Only available own Premium and Ultimate instances.
- Merge
Access stringLevel Access levels allowed to merge. Valid values are:
no one
,developer
,maintainer
.- Project string
The id of the project.
- Push
Access stringLevel Access levels allowed to push. Valid values are:
no one
,developer
,maintainer
.- Unprotect
Access stringLevel Access levels allowed to unprotect. Valid values are:
developer
,maintainer
,admin
.
- Allow
Force boolPush Can be set to true to allow users with push access to force push.
- Allowed
To []BranchMerges Protection Allowed To Merge Args Defines permissions for action.
- Allowed
To []BranchPushes Protection Allowed To Push Args Defines permissions for action.
- Allowed
To []BranchUnprotects Protection Allowed To Unprotect Args Defines permissions for action.
- Branch string
Name of the branch.
- Branch
Protection intId The ID of the branch protection (not the branch name).
- Code
Owner boolApproval Required Can be set to true to require code owner approval before merging. Only available own Premium and Ultimate instances.
- Merge
Access stringLevel Access levels allowed to merge. Valid values are:
no one
,developer
,maintainer
.- Project string
The id of the project.
- Push
Access stringLevel Access levels allowed to push. Valid values are:
no one
,developer
,maintainer
.- Unprotect
Access stringLevel Access levels allowed to unprotect. Valid values are:
developer
,maintainer
,admin
.
- allow
Force BooleanPush Can be set to true to allow users with push access to force push.
- allowed
To List<BranchMerges Protection Allowed To Merge> Defines permissions for action.
- allowed
To List<BranchPushes Protection Allowed To Push> Defines permissions for action.
- allowed
To List<BranchUnprotects Protection Allowed To Unprotect> Defines permissions for action.
- branch String
Name of the branch.
- branch
Protection IntegerId The ID of the branch protection (not the branch name).
- code
Owner BooleanApproval Required Can be set to true to require code owner approval before merging. Only available own Premium and Ultimate instances.
- merge
Access StringLevel Access levels allowed to merge. Valid values are:
no one
,developer
,maintainer
.- project String
The id of the project.
- push
Access StringLevel Access levels allowed to push. Valid values are:
no one
,developer
,maintainer
.- unprotect
Access StringLevel Access levels allowed to unprotect. Valid values are:
developer
,maintainer
,admin
.
- allow
Force booleanPush Can be set to true to allow users with push access to force push.
- allowed
To BranchMerges Protection Allowed To Merge[] Defines permissions for action.
- allowed
To BranchPushes Protection Allowed To Push[] Defines permissions for action.
- allowed
To BranchUnprotects Protection Allowed To Unprotect[] Defines permissions for action.
- branch string
Name of the branch.
- branch
Protection numberId The ID of the branch protection (not the branch name).
- code
Owner booleanApproval Required Can be set to true to require code owner approval before merging. Only available own Premium and Ultimate instances.
- merge
Access stringLevel Access levels allowed to merge. Valid values are:
no one
,developer
,maintainer
.- project string
The id of the project.
- push
Access stringLevel Access levels allowed to push. Valid values are:
no one
,developer
,maintainer
.- unprotect
Access stringLevel Access levels allowed to unprotect. Valid values are:
developer
,maintainer
,admin
.
- allow_
force_ boolpush Can be set to true to allow users with push access to force push.
- allowed_
to_ Sequence[Branchmerges Protection Allowed To Merge Args] Defines permissions for action.
- allowed_
to_ Sequence[Branchpushes Protection Allowed To Push Args] Defines permissions for action.
- allowed_
to_ Sequence[Branchunprotects Protection Allowed To Unprotect Args] Defines permissions for action.
- branch str
Name of the branch.
- branch_
protection_ intid The ID of the branch protection (not the branch name).
- code_
owner_ boolapproval_ required Can be set to true to require code owner approval before merging. Only available own Premium and Ultimate instances.
- merge_
access_ strlevel Access levels allowed to merge. Valid values are:
no one
,developer
,maintainer
.- project str
The id of the project.
- push_
access_ strlevel Access levels allowed to push. Valid values are:
no one
,developer
,maintainer
.- unprotect_
access_ strlevel Access levels allowed to unprotect. Valid values are:
developer
,maintainer
,admin
.
- allow
Force BooleanPush Can be set to true to allow users with push access to force push.
- allowed
To List<Property Map>Merges Defines permissions for action.
- allowed
To List<Property Map>Pushes Defines permissions for action.
- allowed
To List<Property Map>Unprotects Defines permissions for action.
- branch String
Name of the branch.
- branch
Protection NumberId The ID of the branch protection (not the branch name).
- code
Owner BooleanApproval Required Can be set to true to require code owner approval before merging. Only available own Premium and Ultimate instances.
- merge
Access StringLevel Access levels allowed to merge. Valid values are:
no one
,developer
,maintainer
.- project String
The id of the project.
- push
Access StringLevel Access levels allowed to push. Valid values are:
no one
,developer
,maintainer
.- unprotect
Access StringLevel Access levels allowed to unprotect. Valid values are:
developer
,maintainer
,admin
.
Supporting Types
BranchProtectionAllowedToMerge, BranchProtectionAllowedToMergeArgs
- Access
Level string Level of access.
- Access
Level stringDescription Readable description of level of access.
- Group
Id int The ID of a GitLab group allowed to perform the relevant action. Mutually exclusive with
user_id
.- User
Id int The ID of a GitLab user allowed to perform the relevant action. Mutually exclusive with
group_id
.
- Access
Level string Level of access.
- Access
Level stringDescription Readable description of level of access.
- Group
Id int The ID of a GitLab group allowed to perform the relevant action. Mutually exclusive with
user_id
.- User
Id int The ID of a GitLab user allowed to perform the relevant action. Mutually exclusive with
group_id
.
- access
Level String Level of access.
- access
Level StringDescription Readable description of level of access.
- group
Id Integer The ID of a GitLab group allowed to perform the relevant action. Mutually exclusive with
user_id
.- user
Id Integer The ID of a GitLab user allowed to perform the relevant action. Mutually exclusive with
group_id
.
- access
Level string Level of access.
- access
Level stringDescription Readable description of level of access.
- group
Id number The ID of a GitLab group allowed to perform the relevant action. Mutually exclusive with
user_id
.- user
Id number The ID of a GitLab user allowed to perform the relevant action. Mutually exclusive with
group_id
.
- access_
level str Level of access.
- access_
level_ strdescription Readable description of level of access.
- group_
id int The ID of a GitLab group allowed to perform the relevant action. Mutually exclusive with
user_id
.- user_
id int The ID of a GitLab user allowed to perform the relevant action. Mutually exclusive with
group_id
.
- access
Level String Level of access.
- access
Level StringDescription Readable description of level of access.
- group
Id Number The ID of a GitLab group allowed to perform the relevant action. Mutually exclusive with
user_id
.- user
Id Number The ID of a GitLab user allowed to perform the relevant action. Mutually exclusive with
group_id
.
BranchProtectionAllowedToPush, BranchProtectionAllowedToPushArgs
- Access
Level string Level of access.
- Access
Level stringDescription Readable description of level of access.
- Group
Id int The ID of a GitLab group allowed to perform the relevant action. Mutually exclusive with
user_id
.- User
Id int The ID of a GitLab user allowed to perform the relevant action. Mutually exclusive with
group_id
.
- Access
Level string Level of access.
- Access
Level stringDescription Readable description of level of access.
- Group
Id int The ID of a GitLab group allowed to perform the relevant action. Mutually exclusive with
user_id
.- User
Id int The ID of a GitLab user allowed to perform the relevant action. Mutually exclusive with
group_id
.
- access
Level String Level of access.
- access
Level StringDescription Readable description of level of access.
- group
Id Integer The ID of a GitLab group allowed to perform the relevant action. Mutually exclusive with
user_id
.- user
Id Integer The ID of a GitLab user allowed to perform the relevant action. Mutually exclusive with
group_id
.
- access
Level string Level of access.
- access
Level stringDescription Readable description of level of access.
- group
Id number The ID of a GitLab group allowed to perform the relevant action. Mutually exclusive with
user_id
.- user
Id number The ID of a GitLab user allowed to perform the relevant action. Mutually exclusive with
group_id
.
- access_
level str Level of access.
- access_
level_ strdescription Readable description of level of access.
- group_
id int The ID of a GitLab group allowed to perform the relevant action. Mutually exclusive with
user_id
.- user_
id int The ID of a GitLab user allowed to perform the relevant action. Mutually exclusive with
group_id
.
- access
Level String Level of access.
- access
Level StringDescription Readable description of level of access.
- group
Id Number The ID of a GitLab group allowed to perform the relevant action. Mutually exclusive with
user_id
.- user
Id Number The ID of a GitLab user allowed to perform the relevant action. Mutually exclusive with
group_id
.
BranchProtectionAllowedToUnprotect, BranchProtectionAllowedToUnprotectArgs
- Access
Level string Level of access.
- Access
Level stringDescription Readable description of level of access.
- Group
Id int The ID of a GitLab group allowed to perform the relevant action. Mutually exclusive with
user_id
.- User
Id int The ID of a GitLab user allowed to perform the relevant action. Mutually exclusive with
group_id
.
- Access
Level string Level of access.
- Access
Level stringDescription Readable description of level of access.
- Group
Id int The ID of a GitLab group allowed to perform the relevant action. Mutually exclusive with
user_id
.- User
Id int The ID of a GitLab user allowed to perform the relevant action. Mutually exclusive with
group_id
.
- access
Level String Level of access.
- access
Level StringDescription Readable description of level of access.
- group
Id Integer The ID of a GitLab group allowed to perform the relevant action. Mutually exclusive with
user_id
.- user
Id Integer The ID of a GitLab user allowed to perform the relevant action. Mutually exclusive with
group_id
.
- access
Level string Level of access.
- access
Level stringDescription Readable description of level of access.
- group
Id number The ID of a GitLab group allowed to perform the relevant action. Mutually exclusive with
user_id
.- user
Id number The ID of a GitLab user allowed to perform the relevant action. Mutually exclusive with
group_id
.
- access_
level str Level of access.
- access_
level_ strdescription Readable description of level of access.
- group_
id int The ID of a GitLab group allowed to perform the relevant action. Mutually exclusive with
user_id
.- user_
id int The ID of a GitLab user allowed to perform the relevant action. Mutually exclusive with
group_id
.
- access
Level String Level of access.
- access
Level StringDescription Readable description of level of access.
- group
Id Number The ID of a GitLab group allowed to perform the relevant action. Mutually exclusive with
user_id
.- user
Id Number The ID of a GitLab user allowed to perform the relevant action. Mutually exclusive with
group_id
.
Package Details
- Repository
- GitLab pulumi/pulumi-gitlab
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
gitlab
Terraform Provider.