Viewing docs for GitLab v10.0.0
published on Friday, Jun 26, 2026 by Pulumi
published on Friday, Jun 26, 2026 by Pulumi
Viewing docs for GitLab v10.0.0
published on Friday, Jun 26, 2026 by Pulumi
published on Friday, Jun 26, 2026 by Pulumi
The gitlab.getGroups data source allows details of multiple groups to be retrieved given some optional filter criteria.
Some attributes might not be returned depending on if you’re an admin or not.
Some available options require administrator privileges.
Upstream API: GitLab REST API docs
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gitlab from "@pulumi/gitlab";
const example = gitlab.getGroups({
sort: "desc",
orderBy: "name",
});
const example_two = gitlab.getGroups({
search: "GitLab",
});
import pulumi
import pulumi_gitlab as gitlab
example = gitlab.get_groups(sort="desc",
order_by="name")
example_two = gitlab.get_groups(search="GitLab")
package main
import (
"github.com/pulumi/pulumi-gitlab/sdk/v10/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := gitlab.GetGroups(ctx, &gitlab.GetGroupsArgs{
Sort: pulumi.StringRef("desc"),
OrderBy: pulumi.StringRef("name"),
}, nil)
if err != nil {
return err
}
_, err = gitlab.GetGroups(ctx, &gitlab.GetGroupsArgs{
Search: pulumi.StringRef("GitLab"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using GitLab = Pulumi.GitLab;
return await Deployment.RunAsync(() =>
{
var example = GitLab.GetGroups.Invoke(new()
{
Sort = "desc",
OrderBy = "name",
});
var example_two = GitLab.GetGroups.Invoke(new()
{
Search = "GitLab",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gitlab.GitlabFunctions;
import com.pulumi.gitlab.inputs.GetGroupsArgs;
import java.util.ArrayList;
import java.util.Arrays;
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) {
final var example = GitlabFunctions.getGroups(GetGroupsArgs.builder()
.sort("desc")
.orderBy("name")
.build());
final var example-two = GitlabFunctions.getGroups(GetGroupsArgs.builder()
.search("GitLab")
.build());
}
}
variables:
example:
fn::invoke:
function: gitlab:getGroups
arguments:
sort: desc
orderBy: name
example-two:
fn::invoke:
function: gitlab:getGroups
arguments:
search: GitLab
pulumi {
required_providers {
gitlab = {
source = "pulumi/gitlab"
}
}
}
data "gitlab_getgroups" "example" {
sort = "desc"
order_by = "name"
}
data "gitlab_getgroups" "example-two" {
search = "GitLab"
}
Using getGroups
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getGroups(args: GetGroupsArgs, opts?: InvokeOptions): Promise<GetGroupsResult>
function getGroupsOutput(args: GetGroupsOutputArgs, opts?: InvokeOptions): Output<GetGroupsResult>def get_groups(order_by: Optional[str] = None,
search: Optional[str] = None,
sort: Optional[str] = None,
top_level_only: Optional[bool] = None,
opts: Optional[InvokeOptions] = None) -> GetGroupsResult
def get_groups_output(order_by: pulumi.Input[Optional[str]] = None,
search: pulumi.Input[Optional[str]] = None,
sort: pulumi.Input[Optional[str]] = None,
top_level_only: pulumi.Input[Optional[bool]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetGroupsResult]func GetGroups(ctx *Context, args *GetGroupsArgs, opts ...InvokeOption) (*GetGroupsResult, error)
func GetGroupsOutput(ctx *Context, args *GetGroupsOutputArgs, opts ...InvokeOption) GetGroupsResultOutput> Note: This function is named GetGroups in the Go SDK.
public static class GetGroups
{
public static Task<GetGroupsResult> InvokeAsync(GetGroupsArgs args, InvokeOptions? opts = null)
public static Output<GetGroupsResult> Invoke(GetGroupsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetGroupsResult> getGroups(GetGroupsArgs args, InvokeOptions options)
public static Output<GetGroupsResult> getGroups(GetGroupsArgs args, InvokeOptions options)
fn::invoke:
function: gitlab:index/getGroups:getGroups
arguments:
# arguments dictionarydata "gitlab_getgroups" "name" {
# arguments
}The following arguments are supported:
- Order
By string - Order the groups' list by
id,name,path, orsimilarity. (Requires administrator privileges) - Search string
- Search groups by name or path.
- Sort string
- Sort groups' list in asc or desc order. (Requires administrator privileges)
- Top
Level boolOnly - Limit to top level groups, excluding all subgroups.
- Order
By string - Order the groups' list by
id,name,path, orsimilarity. (Requires administrator privileges) - Search string
- Search groups by name or path.
- Sort string
- Sort groups' list in asc or desc order. (Requires administrator privileges)
- Top
Level boolOnly - Limit to top level groups, excluding all subgroups.
- order_
by string - Order the groups' list by
id,name,path, orsimilarity. (Requires administrator privileges) - search string
- Search groups by name or path.
- sort string
- Sort groups' list in asc or desc order. (Requires administrator privileges)
- top_
level_ boolonly - Limit to top level groups, excluding all subgroups.
- order
By String - Order the groups' list by
id,name,path, orsimilarity. (Requires administrator privileges) - search String
- Search groups by name or path.
- sort String
- Sort groups' list in asc or desc order. (Requires administrator privileges)
- top
Level BooleanOnly - Limit to top level groups, excluding all subgroups.
- order
By string - Order the groups' list by
id,name,path, orsimilarity. (Requires administrator privileges) - search string
- Search groups by name or path.
- sort string
- Sort groups' list in asc or desc order. (Requires administrator privileges)
- top
Level booleanOnly - Limit to top level groups, excluding all subgroups.
- order_
by str - Order the groups' list by
id,name,path, orsimilarity. (Requires administrator privileges) - search str
- Search groups by name or path.
- sort str
- Sort groups' list in asc or desc order. (Requires administrator privileges)
- top_
level_ boolonly - Limit to top level groups, excluding all subgroups.
- order
By String - Order the groups' list by
id,name,path, orsimilarity. (Requires administrator privileges) - search String
- Search groups by name or path.
- sort String
- Sort groups' list in asc or desc order. (Requires administrator privileges)
- top
Level BooleanOnly - Limit to top level groups, excluding all subgroups.
getGroups Result
The following output properties are available:
- Groups
List<Pulumi.
Git Lab. Outputs. Get Groups Group> - The list of groups.
- Id string
- The ID of this datasource. In the format of a hash of the provided search attributes.
- Order
By string - Order the groups' list by
id,name,path, orsimilarity. (Requires administrator privileges) - Search string
- Search groups by name or path.
- Sort string
- Sort groups' list in asc or desc order. (Requires administrator privileges)
- Top
Level boolOnly - Limit to top level groups, excluding all subgroups.
- Groups
[]Get
Groups Group - The list of groups.
- Id string
- The ID of this datasource. In the format of a hash of the provided search attributes.
- Order
By string - Order the groups' list by
id,name,path, orsimilarity. (Requires administrator privileges) - Search string
- Search groups by name or path.
- Sort string
- Sort groups' list in asc or desc order. (Requires administrator privileges)
- Top
Level boolOnly - Limit to top level groups, excluding all subgroups.
- groups list(object)
- The list of groups.
- id string
- The ID of this datasource. In the format of a hash of the provided search attributes.
- order_
by string - Order the groups' list by
id,name,path, orsimilarity. (Requires administrator privileges) - search string
- Search groups by name or path.
- sort string
- Sort groups' list in asc or desc order. (Requires administrator privileges)
- top_
level_ boolonly - Limit to top level groups, excluding all subgroups.
- groups
List<Get
Groups Group> - The list of groups.
- id String
- The ID of this datasource. In the format of a hash of the provided search attributes.
- order
By String - Order the groups' list by
id,name,path, orsimilarity. (Requires administrator privileges) - search String
- Search groups by name or path.
- sort String
- Sort groups' list in asc or desc order. (Requires administrator privileges)
- top
Level BooleanOnly - Limit to top level groups, excluding all subgroups.
- groups
Get
Groups Group[] - The list of groups.
- id string
- The ID of this datasource. In the format of a hash of the provided search attributes.
- order
By string - Order the groups' list by
id,name,path, orsimilarity. (Requires administrator privileges) - search string
- Search groups by name or path.
- sort string
- Sort groups' list in asc or desc order. (Requires administrator privileges)
- top
Level booleanOnly - Limit to top level groups, excluding all subgroups.
- groups
Sequence[Get
Groups Group] - The list of groups.
- id str
- The ID of this datasource. In the format of a hash of the provided search attributes.
- order_
by str - Order the groups' list by
id,name,path, orsimilarity. (Requires administrator privileges) - search str
- Search groups by name or path.
- sort str
- Sort groups' list in asc or desc order. (Requires administrator privileges)
- top_
level_ boolonly - Limit to top level groups, excluding all subgroups.
- groups List<Property Map>
- The list of groups.
- id String
- The ID of this datasource. In the format of a hash of the provided search attributes.
- order
By String - Order the groups' list by
id,name,path, orsimilarity. (Requires administrator privileges) - search String
- Search groups by name or path.
- sort String
- Sort groups' list in asc or desc order. (Requires administrator privileges)
- top
Level BooleanOnly - Limit to top level groups, excluding all subgroups.
Supporting Types
GetGroupsGroup
- Allow
Merge boolOn Skipped Pipeline - Default to allowing merge on a skipped pipeline for new projects in the group.
- Allowed
Email stringDomains List - Comma-separated list of email address domains allowed to be added as group members.
- Auto
Devops boolEnabled - Default to Auto DevOps pipeline for all projects within this group.
- Avatar
Url string - URL of the group avatar.
- Created
At string - Timestamp at which the group was created.
- Custom
Attributes List<ImmutableDictionary<string, string>> - Custom attributes attached to the group. Each entry is a map with
keyandvalue. Requires administrator privileges to read. - Default
Branch string - The default branch of the group.
- Default
Branch intProtection - Whether developers and maintainers can push to the applicable default branch. Use
defaultBranchProtectionDefaultsinstead, to be removed in 19.0. - Default
Branch List<Pulumi.Protection Defaults Git Lab. Inputs. Get Groups Group Default Branch Protection Default> - Default protection settings applied to the default branch of new projects in this group.
- Description string
- The description of the group.
- Emails
Disabled bool - Whether email notifications are disabled for this group. Use
emailsEnabledinstead, to be removed in 19.0. - Emails
Enabled bool - Whether email notifications are enabled for this group.
- int
- Available in Self-Managed, Premium and Ultimate plans. Can be set by administrators only. Additional CI/CD minutes for this group.
- File
Template intProject Id - The ID of the project used to load custom file templates.
- Full
Name string - The full name of the group.
- Full
Path string - The full path of the group.
- Group
Id int - The ID of the group.
- Ip
Restriction stringRanges - Comma-separated list of IP addresses or subnet masks that restrict access to the group.
- Ldap
Access int - Default access level for members synced from LDAP.
- Ldap
Cn string - LDAP common name used to sync members from an LDAP group.
- Lfs
Enabled bool - Boolean, is LFS enabled for projects in this group.
- Marked
For stringDeletion On - Date on which the group was marked for deletion.
- Max
Artifacts intSize - Maximum artifacts size for the group, in MB.
- Membership
Lock bool - Users cannot be added to projects in this group.
- Mentions
Disabled bool - Whether mentions are disabled for this group.
- Name string
- The name of this group.
- Only
Allow boolMerge If All Discussions Are Resolved - Default to only allowing merge if all discussions are resolved for new projects in the group.
- Only
Allow boolMerge If Pipeline Succeeds - Default to only allowing merge if the pipeline succeeds for new projects in the group.
- Parent
Id int - Integer, ID of the parent group.
- Path string
- The path of the group.
- Prevent
Forking boolOutside Group - When enabled, users can not fork projects from this group to external namespaces.
- Prevent
Sharing boolGroups Outside Hierarchy - When enabled, users cannot invite other groups outside of the top-level group's hierarchy. This option is only available for top-level groups.
- Project
Creation stringLevel - Determine which roles can create projects in the group. Possible values are
noone,maintainer,developer,owner,administrator. - Repository
Storage string - Repository storage shard the group's projects use. (admin only)
- Request
Access boolEnabled - Boolean, is request for access enabled to the group.
- Require
Two boolFactor Authentication - Require all users in this group to set up two-factor authentication.
- Runners
Token string - The group level registration token to use during runner setup.
- bool
- Prevent sharing a project with another group within this group.
- int
- Available in Self-Managed, Premium and Ultimate plans. Can be set by administrators only. Maximum number of monthly CI/CD minutes for this group. Can be nil (default; inherit system default), 0 (unlimited), or > 0.
- string
- Enable or disable shared runners for a group's subgroups and projects. Valid values are:
enabled,disabledAndOverridable,disabledAndUnoverridable,disabledWithOverride. -
List<Pulumi.
Git Lab. Inputs. Get Groups Group Shared With Group> - Describes groups which have access shared to this group.
- Statistics Dictionary<string, int>
- Statistics for the group. Keys:
commitCount,storageSize,repositorySize,wikiSize,lfsObjectsSize,jobArtifactsSize,pipelineArtifactsSize,packagesSize,snippetsSize,uploadsSize,containerRegistrySize. - Subgroup
Creation stringLevel - Determine which roles can create subgroups in the group. Possible values are
owner,maintainer. - Two
Factor intGrace Period - Grace period, in hours, before enforcing two-factor authentication on group members.
- Visibility
Level string - Visibility level of the group. Possible values are
private,internal,public. - Web
Url string - Web URL of the group.
- Wiki
Access stringLevel - The group's wiki access level. Only available on Premium and Ultimate plans. Valid values are
disabled,private,enabled.
- Allow
Merge boolOn Skipped Pipeline - Default to allowing merge on a skipped pipeline for new projects in the group.
- Allowed
Email stringDomains List - Comma-separated list of email address domains allowed to be added as group members.
- Auto
Devops boolEnabled - Default to Auto DevOps pipeline for all projects within this group.
- Avatar
Url string - URL of the group avatar.
- Created
At string - Timestamp at which the group was created.
- Custom
Attributes []map[string]string - Custom attributes attached to the group. Each entry is a map with
keyandvalue. Requires administrator privileges to read. - Default
Branch string - The default branch of the group.
- Default
Branch intProtection - Whether developers and maintainers can push to the applicable default branch. Use
defaultBranchProtectionDefaultsinstead, to be removed in 19.0. - Default
Branch []GetProtection Defaults Groups Group Default Branch Protection Default - Default protection settings applied to the default branch of new projects in this group.
- Description string
- The description of the group.
- Emails
Disabled bool - Whether email notifications are disabled for this group. Use
emailsEnabledinstead, to be removed in 19.0. - Emails
Enabled bool - Whether email notifications are enabled for this group.
- int
- Available in Self-Managed, Premium and Ultimate plans. Can be set by administrators only. Additional CI/CD minutes for this group.
- File
Template intProject Id - The ID of the project used to load custom file templates.
- Full
Name string - The full name of the group.
- Full
Path string - The full path of the group.
- Group
Id int - The ID of the group.
- Ip
Restriction stringRanges - Comma-separated list of IP addresses or subnet masks that restrict access to the group.
- Ldap
Access int - Default access level for members synced from LDAP.
- Ldap
Cn string - LDAP common name used to sync members from an LDAP group.
- Lfs
Enabled bool - Boolean, is LFS enabled for projects in this group.
- Marked
For stringDeletion On - Date on which the group was marked for deletion.
- Max
Artifacts intSize - Maximum artifacts size for the group, in MB.
- Membership
Lock bool - Users cannot be added to projects in this group.
- Mentions
Disabled bool - Whether mentions are disabled for this group.
- Name string
- The name of this group.
- Only
Allow boolMerge If All Discussions Are Resolved - Default to only allowing merge if all discussions are resolved for new projects in the group.
- Only
Allow boolMerge If Pipeline Succeeds - Default to only allowing merge if the pipeline succeeds for new projects in the group.
- Parent
Id int - Integer, ID of the parent group.
- Path string
- The path of the group.
- Prevent
Forking boolOutside Group - When enabled, users can not fork projects from this group to external namespaces.
- Prevent
Sharing boolGroups Outside Hierarchy - When enabled, users cannot invite other groups outside of the top-level group's hierarchy. This option is only available for top-level groups.
- Project
Creation stringLevel - Determine which roles can create projects in the group. Possible values are
noone,maintainer,developer,owner,administrator. - Repository
Storage string - Repository storage shard the group's projects use. (admin only)
- Request
Access boolEnabled - Boolean, is request for access enabled to the group.
- Require
Two boolFactor Authentication - Require all users in this group to set up two-factor authentication.
- Runners
Token string - The group level registration token to use during runner setup.
- bool
- Prevent sharing a project with another group within this group.
- int
- Available in Self-Managed, Premium and Ultimate plans. Can be set by administrators only. Maximum number of monthly CI/CD minutes for this group. Can be nil (default; inherit system default), 0 (unlimited), or > 0.
- string
- Enable or disable shared runners for a group's subgroups and projects. Valid values are:
enabled,disabledAndOverridable,disabledAndUnoverridable,disabledWithOverride. -
[]Get
Groups Group Shared With Group - Describes groups which have access shared to this group.
- Statistics map[string]int
- Statistics for the group. Keys:
commitCount,storageSize,repositorySize,wikiSize,lfsObjectsSize,jobArtifactsSize,pipelineArtifactsSize,packagesSize,snippetsSize,uploadsSize,containerRegistrySize. - Subgroup
Creation stringLevel - Determine which roles can create subgroups in the group. Possible values are
owner,maintainer. - Two
Factor intGrace Period - Grace period, in hours, before enforcing two-factor authentication on group members.
- Visibility
Level string - Visibility level of the group. Possible values are
private,internal,public. - Web
Url string - Web URL of the group.
- Wiki
Access stringLevel - The group's wiki access level. Only available on Premium and Ultimate plans. Valid values are
disabled,private,enabled.
- allow_
merge_ boolon_ skipped_ pipeline - Default to allowing merge on a skipped pipeline for new projects in the group.
- allowed_
email_ stringdomains_ list - Comma-separated list of email address domains allowed to be added as group members.
- auto_
devops_ boolenabled - Default to Auto DevOps pipeline for all projects within this group.
- avatar_
url string - URL of the group avatar.
- created_
at string - Timestamp at which the group was created.
- custom_
attributes list(map(string)) - Custom attributes attached to the group. Each entry is a map with
keyandvalue. Requires administrator privileges to read. - default_
branch string - The default branch of the group.
- default_
branch_ numberprotection - Whether developers and maintainers can push to the applicable default branch. Use
defaultBranchProtectionDefaultsinstead, to be removed in 19.0. - default_
branch_ list(object)protection_ defaults - Default protection settings applied to the default branch of new projects in this group.
- description string
- The description of the group.
- emails_
disabled bool - Whether email notifications are disabled for this group. Use
emailsEnabledinstead, to be removed in 19.0. - emails_
enabled bool - Whether email notifications are enabled for this group.
- number
- Available in Self-Managed, Premium and Ultimate plans. Can be set by administrators only. Additional CI/CD minutes for this group.
- file_
template_ numberproject_ id - The ID of the project used to load custom file templates.
- full_
name string - The full name of the group.
- full_
path string - The full path of the group.
- group_
id number - The ID of the group.
- ip_
restriction_ stringranges - Comma-separated list of IP addresses or subnet masks that restrict access to the group.
- ldap_
access number - Default access level for members synced from LDAP.
- ldap_
cn string - LDAP common name used to sync members from an LDAP group.
- lfs_
enabled bool - Boolean, is LFS enabled for projects in this group.
- marked_
for_ stringdeletion_ on - Date on which the group was marked for deletion.
- max_
artifacts_ numbersize - Maximum artifacts size for the group, in MB.
- membership_
lock bool - Users cannot be added to projects in this group.
- mentions_
disabled bool - Whether mentions are disabled for this group.
- name string
- The name of this group.
- only_
allow_ boolmerge_ if_ all_ discussions_ are_ resolved - Default to only allowing merge if all discussions are resolved for new projects in the group.
- only_
allow_ boolmerge_ if_ pipeline_ succeeds - Default to only allowing merge if the pipeline succeeds for new projects in the group.
- parent_
id number - Integer, ID of the parent group.
- path string
- The path of the group.
- prevent_
forking_ booloutside_ group - When enabled, users can not fork projects from this group to external namespaces.
- prevent_
sharing_ boolgroups_ outside_ hierarchy - When enabled, users cannot invite other groups outside of the top-level group's hierarchy. This option is only available for top-level groups.
- project_
creation_ stringlevel - Determine which roles can create projects in the group. Possible values are
noone,maintainer,developer,owner,administrator. - repository_
storage string - Repository storage shard the group's projects use. (admin only)
- request_
access_ boolenabled - Boolean, is request for access enabled to the group.
- require_
two_ boolfactor_ authentication - Require all users in this group to set up two-factor authentication.
- runners_
token string - The group level registration token to use during runner setup.
- bool
- Prevent sharing a project with another group within this group.
- number
- Available in Self-Managed, Premium and Ultimate plans. Can be set by administrators only. Maximum number of monthly CI/CD minutes for this group. Can be nil (default; inherit system default), 0 (unlimited), or > 0.
- string
- Enable or disable shared runners for a group's subgroups and projects. Valid values are:
enabled,disabledAndOverridable,disabledAndUnoverridable,disabledWithOverride. - list(object)
- Describes groups which have access shared to this group.
- statistics map(number)
- Statistics for the group. Keys:
commitCount,storageSize,repositorySize,wikiSize,lfsObjectsSize,jobArtifactsSize,pipelineArtifactsSize,packagesSize,snippetsSize,uploadsSize,containerRegistrySize. - subgroup_
creation_ stringlevel - Determine which roles can create subgroups in the group. Possible values are
owner,maintainer. - two_
factor_ numbergrace_ period - Grace period, in hours, before enforcing two-factor authentication on group members.
- visibility_
level string - Visibility level of the group. Possible values are
private,internal,public. - web_
url string - Web URL of the group.
- wiki_
access_ stringlevel - The group's wiki access level. Only available on Premium and Ultimate plans. Valid values are
disabled,private,enabled.
- allow
Merge BooleanOn Skipped Pipeline - Default to allowing merge on a skipped pipeline for new projects in the group.
- allowed
Email StringDomains List - Comma-separated list of email address domains allowed to be added as group members.
- auto
Devops BooleanEnabled - Default to Auto DevOps pipeline for all projects within this group.
- avatar
Url String - URL of the group avatar.
- created
At String - Timestamp at which the group was created.
- custom
Attributes List<Map<String,String>> - Custom attributes attached to the group. Each entry is a map with
keyandvalue. Requires administrator privileges to read. - default
Branch String - The default branch of the group.
- default
Branch IntegerProtection - Whether developers and maintainers can push to the applicable default branch. Use
defaultBranchProtectionDefaultsinstead, to be removed in 19.0. - default
Branch List<GetProtection Defaults Groups Group Default Branch Protection Default> - Default protection settings applied to the default branch of new projects in this group.
- description String
- The description of the group.
- emails
Disabled Boolean - Whether email notifications are disabled for this group. Use
emailsEnabledinstead, to be removed in 19.0. - emails
Enabled Boolean - Whether email notifications are enabled for this group.
- Integer
- Available in Self-Managed, Premium and Ultimate plans. Can be set by administrators only. Additional CI/CD minutes for this group.
- file
Template IntegerProject Id - The ID of the project used to load custom file templates.
- full
Name String - The full name of the group.
- full
Path String - The full path of the group.
- group
Id Integer - The ID of the group.
- ip
Restriction StringRanges - Comma-separated list of IP addresses or subnet masks that restrict access to the group.
- ldap
Access Integer - Default access level for members synced from LDAP.
- ldap
Cn String - LDAP common name used to sync members from an LDAP group.
- lfs
Enabled Boolean - Boolean, is LFS enabled for projects in this group.
- marked
For StringDeletion On - Date on which the group was marked for deletion.
- max
Artifacts IntegerSize - Maximum artifacts size for the group, in MB.
- membership
Lock Boolean - Users cannot be added to projects in this group.
- mentions
Disabled Boolean - Whether mentions are disabled for this group.
- name String
- The name of this group.
- only
Allow BooleanMerge If All Discussions Are Resolved - Default to only allowing merge if all discussions are resolved for new projects in the group.
- only
Allow BooleanMerge If Pipeline Succeeds - Default to only allowing merge if the pipeline succeeds for new projects in the group.
- parent
Id Integer - Integer, ID of the parent group.
- path String
- The path of the group.
- prevent
Forking BooleanOutside Group - When enabled, users can not fork projects from this group to external namespaces.
- prevent
Sharing BooleanGroups Outside Hierarchy - When enabled, users cannot invite other groups outside of the top-level group's hierarchy. This option is only available for top-level groups.
- project
Creation StringLevel - Determine which roles can create projects in the group. Possible values are
noone,maintainer,developer,owner,administrator. - repository
Storage String - Repository storage shard the group's projects use. (admin only)
- request
Access BooleanEnabled - Boolean, is request for access enabled to the group.
- require
Two BooleanFactor Authentication - Require all users in this group to set up two-factor authentication.
- runners
Token String - The group level registration token to use during runner setup.
- Boolean
- Prevent sharing a project with another group within this group.
- Integer
- Available in Self-Managed, Premium and Ultimate plans. Can be set by administrators only. Maximum number of monthly CI/CD minutes for this group. Can be nil (default; inherit system default), 0 (unlimited), or > 0.
- String
- Enable or disable shared runners for a group's subgroups and projects. Valid values are:
enabled,disabledAndOverridable,disabledAndUnoverridable,disabledWithOverride. -
List<Get
Groups Group Shared With Group> - Describes groups which have access shared to this group.
- statistics Map<String,Integer>
- Statistics for the group. Keys:
commitCount,storageSize,repositorySize,wikiSize,lfsObjectsSize,jobArtifactsSize,pipelineArtifactsSize,packagesSize,snippetsSize,uploadsSize,containerRegistrySize. - subgroup
Creation StringLevel - Determine which roles can create subgroups in the group. Possible values are
owner,maintainer. - two
Factor IntegerGrace Period - Grace period, in hours, before enforcing two-factor authentication on group members.
- visibility
Level String - Visibility level of the group. Possible values are
private,internal,public. - web
Url String - Web URL of the group.
- wiki
Access StringLevel - The group's wiki access level. Only available on Premium and Ultimate plans. Valid values are
disabled,private,enabled.
- allow
Merge booleanOn Skipped Pipeline - Default to allowing merge on a skipped pipeline for new projects in the group.
- allowed
Email stringDomains List - Comma-separated list of email address domains allowed to be added as group members.
- auto
Devops booleanEnabled - Default to Auto DevOps pipeline for all projects within this group.
- avatar
Url string - URL of the group avatar.
- created
At string - Timestamp at which the group was created.
- custom
Attributes {[key: string]: string}[] - Custom attributes attached to the group. Each entry is a map with
keyandvalue. Requires administrator privileges to read. - default
Branch string - The default branch of the group.
- default
Branch numberProtection - Whether developers and maintainers can push to the applicable default branch. Use
defaultBranchProtectionDefaultsinstead, to be removed in 19.0. - default
Branch GetProtection Defaults Groups Group Default Branch Protection Default[] - Default protection settings applied to the default branch of new projects in this group.
- description string
- The description of the group.
- emails
Disabled boolean - Whether email notifications are disabled for this group. Use
emailsEnabledinstead, to be removed in 19.0. - emails
Enabled boolean - Whether email notifications are enabled for this group.
- number
- Available in Self-Managed, Premium and Ultimate plans. Can be set by administrators only. Additional CI/CD minutes for this group.
- file
Template numberProject Id - The ID of the project used to load custom file templates.
- full
Name string - The full name of the group.
- full
Path string - The full path of the group.
- group
Id number - The ID of the group.
- ip
Restriction stringRanges - Comma-separated list of IP addresses or subnet masks that restrict access to the group.
- ldap
Access number - Default access level for members synced from LDAP.
- ldap
Cn string - LDAP common name used to sync members from an LDAP group.
- lfs
Enabled boolean - Boolean, is LFS enabled for projects in this group.
- marked
For stringDeletion On - Date on which the group was marked for deletion.
- max
Artifacts numberSize - Maximum artifacts size for the group, in MB.
- membership
Lock boolean - Users cannot be added to projects in this group.
- mentions
Disabled boolean - Whether mentions are disabled for this group.
- name string
- The name of this group.
- only
Allow booleanMerge If All Discussions Are Resolved - Default to only allowing merge if all discussions are resolved for new projects in the group.
- only
Allow booleanMerge If Pipeline Succeeds - Default to only allowing merge if the pipeline succeeds for new projects in the group.
- parent
Id number - Integer, ID of the parent group.
- path string
- The path of the group.
- prevent
Forking booleanOutside Group - When enabled, users can not fork projects from this group to external namespaces.
- prevent
Sharing booleanGroups Outside Hierarchy - When enabled, users cannot invite other groups outside of the top-level group's hierarchy. This option is only available for top-level groups.
- project
Creation stringLevel - Determine which roles can create projects in the group. Possible values are
noone,maintainer,developer,owner,administrator. - repository
Storage string - Repository storage shard the group's projects use. (admin only)
- request
Access booleanEnabled - Boolean, is request for access enabled to the group.
- require
Two booleanFactor Authentication - Require all users in this group to set up two-factor authentication.
- runners
Token string - The group level registration token to use during runner setup.
- boolean
- Prevent sharing a project with another group within this group.
- number
- Available in Self-Managed, Premium and Ultimate plans. Can be set by administrators only. Maximum number of monthly CI/CD minutes for this group. Can be nil (default; inherit system default), 0 (unlimited), or > 0.
- string
- Enable or disable shared runners for a group's subgroups and projects. Valid values are:
enabled,disabledAndOverridable,disabledAndUnoverridable,disabledWithOverride. -
Get
Groups Group Shared With Group[] - Describes groups which have access shared to this group.
- statistics {[key: string]: number}
- Statistics for the group. Keys:
commitCount,storageSize,repositorySize,wikiSize,lfsObjectsSize,jobArtifactsSize,pipelineArtifactsSize,packagesSize,snippetsSize,uploadsSize,containerRegistrySize. - subgroup
Creation stringLevel - Determine which roles can create subgroups in the group. Possible values are
owner,maintainer. - two
Factor numberGrace Period - Grace period, in hours, before enforcing two-factor authentication on group members.
- visibility
Level string - Visibility level of the group. Possible values are
private,internal,public. - web
Url string - Web URL of the group.
- wiki
Access stringLevel - The group's wiki access level. Only available on Premium and Ultimate plans. Valid values are
disabled,private,enabled.
- allow_
merge_ boolon_ skipped_ pipeline - Default to allowing merge on a skipped pipeline for new projects in the group.
- allowed_
email_ strdomains_ list - Comma-separated list of email address domains allowed to be added as group members.
- auto_
devops_ boolenabled - Default to Auto DevOps pipeline for all projects within this group.
- avatar_
url str - URL of the group avatar.
- created_
at str - Timestamp at which the group was created.
- custom_
attributes Sequence[Mapping[str, str]] - Custom attributes attached to the group. Each entry is a map with
keyandvalue. Requires administrator privileges to read. - default_
branch str - The default branch of the group.
- default_
branch_ intprotection - Whether developers and maintainers can push to the applicable default branch. Use
defaultBranchProtectionDefaultsinstead, to be removed in 19.0. - default_
branch_ Sequence[Getprotection_ defaults Groups Group Default Branch Protection Default] - Default protection settings applied to the default branch of new projects in this group.
- description str
- The description of the group.
- emails_
disabled bool - Whether email notifications are disabled for this group. Use
emailsEnabledinstead, to be removed in 19.0. - emails_
enabled bool - Whether email notifications are enabled for this group.
- int
- Available in Self-Managed, Premium and Ultimate plans. Can be set by administrators only. Additional CI/CD minutes for this group.
- file_
template_ intproject_ id - The ID of the project used to load custom file templates.
- full_
name str - The full name of the group.
- full_
path str - The full path of the group.
- group_
id int - The ID of the group.
- ip_
restriction_ strranges - Comma-separated list of IP addresses or subnet masks that restrict access to the group.
- ldap_
access int - Default access level for members synced from LDAP.
- ldap_
cn str - LDAP common name used to sync members from an LDAP group.
- lfs_
enabled bool - Boolean, is LFS enabled for projects in this group.
- marked_
for_ strdeletion_ on - Date on which the group was marked for deletion.
- max_
artifacts_ intsize - Maximum artifacts size for the group, in MB.
- membership_
lock bool - Users cannot be added to projects in this group.
- mentions_
disabled bool - Whether mentions are disabled for this group.
- name str
- The name of this group.
- only_
allow_ boolmerge_ if_ all_ discussions_ are_ resolved - Default to only allowing merge if all discussions are resolved for new projects in the group.
- only_
allow_ boolmerge_ if_ pipeline_ succeeds - Default to only allowing merge if the pipeline succeeds for new projects in the group.
- parent_
id int - Integer, ID of the parent group.
- path str
- The path of the group.
- prevent_
forking_ booloutside_ group - When enabled, users can not fork projects from this group to external namespaces.
- prevent_
sharing_ boolgroups_ outside_ hierarchy - When enabled, users cannot invite other groups outside of the top-level group's hierarchy. This option is only available for top-level groups.
- project_
creation_ strlevel - Determine which roles can create projects in the group. Possible values are
noone,maintainer,developer,owner,administrator. - repository_
storage str - Repository storage shard the group's projects use. (admin only)
- request_
access_ boolenabled - Boolean, is request for access enabled to the group.
- require_
two_ boolfactor_ authentication - Require all users in this group to set up two-factor authentication.
- runners_
token str - The group level registration token to use during runner setup.
- bool
- Prevent sharing a project with another group within this group.
- int
- Available in Self-Managed, Premium and Ultimate plans. Can be set by administrators only. Maximum number of monthly CI/CD minutes for this group. Can be nil (default; inherit system default), 0 (unlimited), or > 0.
- str
- Enable or disable shared runners for a group's subgroups and projects. Valid values are:
enabled,disabledAndOverridable,disabledAndUnoverridable,disabledWithOverride. -
Sequence[Get
Groups Group Shared With Group] - Describes groups which have access shared to this group.
- statistics Mapping[str, int]
- Statistics for the group. Keys:
commitCount,storageSize,repositorySize,wikiSize,lfsObjectsSize,jobArtifactsSize,pipelineArtifactsSize,packagesSize,snippetsSize,uploadsSize,containerRegistrySize. - subgroup_
creation_ strlevel - Determine which roles can create subgroups in the group. Possible values are
owner,maintainer. - two_
factor_ intgrace_ period - Grace period, in hours, before enforcing two-factor authentication on group members.
- visibility_
level str - Visibility level of the group. Possible values are
private,internal,public. - web_
url str - Web URL of the group.
- wiki_
access_ strlevel - The group's wiki access level. Only available on Premium and Ultimate plans. Valid values are
disabled,private,enabled.
- allow
Merge BooleanOn Skipped Pipeline - Default to allowing merge on a skipped pipeline for new projects in the group.
- allowed
Email StringDomains List - Comma-separated list of email address domains allowed to be added as group members.
- auto
Devops BooleanEnabled - Default to Auto DevOps pipeline for all projects within this group.
- avatar
Url String - URL of the group avatar.
- created
At String - Timestamp at which the group was created.
- custom
Attributes List<Map<String>> - Custom attributes attached to the group. Each entry is a map with
keyandvalue. Requires administrator privileges to read. - default
Branch String - The default branch of the group.
- default
Branch NumberProtection - Whether developers and maintainers can push to the applicable default branch. Use
defaultBranchProtectionDefaultsinstead, to be removed in 19.0. - default
Branch List<Property Map>Protection Defaults - Default protection settings applied to the default branch of new projects in this group.
- description String
- The description of the group.
- emails
Disabled Boolean - Whether email notifications are disabled for this group. Use
emailsEnabledinstead, to be removed in 19.0. - emails
Enabled Boolean - Whether email notifications are enabled for this group.
- Number
- Available in Self-Managed, Premium and Ultimate plans. Can be set by administrators only. Additional CI/CD minutes for this group.
- file
Template NumberProject Id - The ID of the project used to load custom file templates.
- full
Name String - The full name of the group.
- full
Path String - The full path of the group.
- group
Id Number - The ID of the group.
- ip
Restriction StringRanges - Comma-separated list of IP addresses or subnet masks that restrict access to the group.
- ldap
Access Number - Default access level for members synced from LDAP.
- ldap
Cn String - LDAP common name used to sync members from an LDAP group.
- lfs
Enabled Boolean - Boolean, is LFS enabled for projects in this group.
- marked
For StringDeletion On - Date on which the group was marked for deletion.
- max
Artifacts NumberSize - Maximum artifacts size for the group, in MB.
- membership
Lock Boolean - Users cannot be added to projects in this group.
- mentions
Disabled Boolean - Whether mentions are disabled for this group.
- name String
- The name of this group.
- only
Allow BooleanMerge If All Discussions Are Resolved - Default to only allowing merge if all discussions are resolved for new projects in the group.
- only
Allow BooleanMerge If Pipeline Succeeds - Default to only allowing merge if the pipeline succeeds for new projects in the group.
- parent
Id Number - Integer, ID of the parent group.
- path String
- The path of the group.
- prevent
Forking BooleanOutside Group - When enabled, users can not fork projects from this group to external namespaces.
- prevent
Sharing BooleanGroups Outside Hierarchy - When enabled, users cannot invite other groups outside of the top-level group's hierarchy. This option is only available for top-level groups.
- project
Creation StringLevel - Determine which roles can create projects in the group. Possible values are
noone,maintainer,developer,owner,administrator. - repository
Storage String - Repository storage shard the group's projects use. (admin only)
- request
Access BooleanEnabled - Boolean, is request for access enabled to the group.
- require
Two BooleanFactor Authentication - Require all users in this group to set up two-factor authentication.
- runners
Token String - The group level registration token to use during runner setup.
- Boolean
- Prevent sharing a project with another group within this group.
- Number
- Available in Self-Managed, Premium and Ultimate plans. Can be set by administrators only. Maximum number of monthly CI/CD minutes for this group. Can be nil (default; inherit system default), 0 (unlimited), or > 0.
- String
- Enable or disable shared runners for a group's subgroups and projects. Valid values are:
enabled,disabledAndOverridable,disabledAndUnoverridable,disabledWithOverride. - List<Property Map>
- Describes groups which have access shared to this group.
- statistics Map<Number>
- Statistics for the group. Keys:
commitCount,storageSize,repositorySize,wikiSize,lfsObjectsSize,jobArtifactsSize,pipelineArtifactsSize,packagesSize,snippetsSize,uploadsSize,containerRegistrySize. - subgroup
Creation StringLevel - Determine which roles can create subgroups in the group. Possible values are
owner,maintainer. - two
Factor NumberGrace Period - Grace period, in hours, before enforcing two-factor authentication on group members.
- visibility
Level String - Visibility level of the group. Possible values are
private,internal,public. - web
Url String - Web URL of the group.
- wiki
Access StringLevel - The group's wiki access level. Only available on Premium and Ultimate plans. Valid values are
disabled,private,enabled.
GetGroupsGroupDefaultBranchProtectionDefault
- Allow
Force boolPush - Whether force-push is allowed to the default branch.
- Allowed
To List<Pulumi.Merges Git Lab. Inputs. Get Groups Group Default Branch Protection Default Allowed To Merge> - Access levels allowed to merge into the default branch.
- Allowed
To List<Pulumi.Pushes Git Lab. Inputs. Get Groups Group Default Branch Protection Default Allowed To Push> - Access levels allowed to push to the default branch.
- Code
Owner boolApproval Required - Whether code-owner approval is required on the default branch.
- Developer
Can boolInitial Push - Whether developers can make the initial push to the default branch.
- Allow
Force boolPush - Whether force-push is allowed to the default branch.
- Allowed
To []GetMerges Groups Group Default Branch Protection Default Allowed To Merge - Access levels allowed to merge into the default branch.
- Allowed
To []GetPushes Groups Group Default Branch Protection Default Allowed To Push - Access levels allowed to push to the default branch.
- Code
Owner boolApproval Required - Whether code-owner approval is required on the default branch.
- Developer
Can boolInitial Push - Whether developers can make the initial push to the default branch.
- allow_
force_ boolpush - Whether force-push is allowed to the default branch.
- allowed_
to_ list(object)merges - Access levels allowed to merge into the default branch.
- allowed_
to_ list(object)pushes - Access levels allowed to push to the default branch.
- code_
owner_ boolapproval_ required - Whether code-owner approval is required on the default branch.
- developer_
can_ boolinitial_ push - Whether developers can make the initial push to the default branch.
- allow
Force BooleanPush - Whether force-push is allowed to the default branch.
- allowed
To List<GetMerges Groups Group Default Branch Protection Default Allowed To Merge> - Access levels allowed to merge into the default branch.
- allowed
To List<GetPushes Groups Group Default Branch Protection Default Allowed To Push> - Access levels allowed to push to the default branch.
- code
Owner BooleanApproval Required - Whether code-owner approval is required on the default branch.
- developer
Can BooleanInitial Push - Whether developers can make the initial push to the default branch.
- allow
Force booleanPush - Whether force-push is allowed to the default branch.
- allowed
To GetMerges Groups Group Default Branch Protection Default Allowed To Merge[] - Access levels allowed to merge into the default branch.
- allowed
To GetPushes Groups Group Default Branch Protection Default Allowed To Push[] - Access levels allowed to push to the default branch.
- code
Owner booleanApproval Required - Whether code-owner approval is required on the default branch.
- developer
Can booleanInitial Push - Whether developers can make the initial push to the default branch.
- allow_
force_ boolpush - Whether force-push is allowed to the default branch.
- allowed_
to_ Sequence[Getmerges Groups Group Default Branch Protection Default Allowed To Merge] - Access levels allowed to merge into the default branch.
- allowed_
to_ Sequence[Getpushes Groups Group Default Branch Protection Default Allowed To Push] - Access levels allowed to push to the default branch.
- code_
owner_ boolapproval_ required - Whether code-owner approval is required on the default branch.
- developer_
can_ boolinitial_ push - Whether developers can make the initial push to the default branch.
- allow
Force BooleanPush - Whether force-push is allowed to the default branch.
- allowed
To List<Property Map>Merges - Access levels allowed to merge into the default branch.
- allowed
To List<Property Map>Pushes - Access levels allowed to push to the default branch.
- code
Owner BooleanApproval Required - Whether code-owner approval is required on the default branch.
- developer
Can BooleanInitial Push - Whether developers can make the initial push to the default branch.
GetGroupsGroupDefaultBranchProtectionDefaultAllowedToMerge
- Access
Level int - The access level integer.
- Access
Level int - The access level integer.
- access_
level number - The access level integer.
- access
Level Integer - The access level integer.
- access
Level number - The access level integer.
- access_
level int - The access level integer.
- access
Level Number - The access level integer.
GetGroupsGroupDefaultBranchProtectionDefaultAllowedToPush
- Access
Level int - The access level integer.
- Access
Level int - The access level integer.
- access_
level number - The access level integer.
- access
Level Integer - The access level integer.
- access
Level number - The access level integer.
- access_
level int - The access level integer.
- access
Level Number - The access level integer.
GetGroupsGroupSharedWithGroup
- Expires
At string - Share with group expiration date.
- Group
Access intLevel - The accessLevel permission level of the shared group.
- Group
Full stringPath - The full path of the group shared with.
- Group
Id int - The ID of the group shared with.
- Group
Name string - The name of the group shared with.
- Expires
At string - Share with group expiration date.
- Group
Access intLevel - The accessLevel permission level of the shared group.
- Group
Full stringPath - The full path of the group shared with.
- Group
Id int - The ID of the group shared with.
- Group
Name string - The name of the group shared with.
- expires_
at string - Share with group expiration date.
- group_
access_ numberlevel - The accessLevel permission level of the shared group.
- group_
full_ stringpath - The full path of the group shared with.
- group_
id number - The ID of the group shared with.
- group_
name string - The name of the group shared with.
- expires
At String - Share with group expiration date.
- group
Access IntegerLevel - The accessLevel permission level of the shared group.
- group
Full StringPath - The full path of the group shared with.
- group
Id Integer - The ID of the group shared with.
- group
Name String - The name of the group shared with.
- expires
At string - Share with group expiration date.
- group
Access numberLevel - The accessLevel permission level of the shared group.
- group
Full stringPath - The full path of the group shared with.
- group
Id number - The ID of the group shared with.
- group
Name string - The name of the group shared with.
- expires_
at str - Share with group expiration date.
- group_
access_ intlevel - The accessLevel permission level of the shared group.
- group_
full_ strpath - The full path of the group shared with.
- group_
id int - The ID of the group shared with.
- group_
name str - The name of the group shared with.
- expires
At String - Share with group expiration date.
- group
Access NumberLevel - The accessLevel permission level of the shared group.
- group
Full StringPath - The full path of the group shared with.
- group
Id Number - The ID of the group shared with.
- group
Name String - The name of the group shared with.
Package Details
- Repository
- GitLab pulumi/pulumi-gitlab
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
gitlabTerraform Provider.
Viewing docs for GitLab v10.0.0
published on Friday, Jun 26, 2026 by Pulumi
published on Friday, Jun 26, 2026 by Pulumi