Viewing docs for GitLab v9.10.0
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Viewing docs for GitLab v9.10.0
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
The gitlab.Group data source allows details of a group to be retrieved by its id or full path.
Upstream API: GitLab REST API docs
Using getGroup
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 getGroup(args: GetGroupArgs, opts?: InvokeOptions): Promise<GetGroupResult>
function getGroupOutput(args: GetGroupOutputArgs, opts?: InvokeOptions): Output<GetGroupResult>def get_group(full_path: Optional[str] = None,
group_id: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetGroupResult
def get_group_output(full_path: Optional[pulumi.Input[str]] = None,
group_id: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetGroupResult]func LookupGroup(ctx *Context, args *LookupGroupArgs, opts ...InvokeOption) (*LookupGroupResult, error)
func LookupGroupOutput(ctx *Context, args *LookupGroupOutputArgs, opts ...InvokeOption) LookupGroupResultOutput> Note: This function is named LookupGroup in the Go SDK.
public static class GetGroup
{
public static Task<GetGroupResult> InvokeAsync(GetGroupArgs args, InvokeOptions? opts = null)
public static Output<GetGroupResult> Invoke(GetGroupInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetGroupResult> getGroup(GetGroupArgs args, InvokeOptions options)
public static Output<GetGroupResult> getGroup(GetGroupArgs args, InvokeOptions options)
fn::invoke:
function: gitlab:index/getGroup:getGroup
arguments:
# arguments dictionaryThe following arguments are supported:
getGroup Result
The following output properties are available:
- Default
Branch string - The default branch of the group.
- Default
Branch intProtection - Whether developers and maintainers can push to the applicable default branch.
- Description string
- The description of the group.
- int
- Can be set by administrators only. Additional CI/CD minutes for this group.
- 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.
- Id string
- The ID of this datasource. In the format
<group-id>. - Lfs
Enabled bool - Boolean, is LFS enabled for projects in this group.
- Membership
Lock bool - Users cannot be added to projects in this group.
- Name string
- The name of this 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.
- Request
Access boolEnabled - Boolean, is request for access enabled to the group.
- Runners
Token string - The group level registration token to use during runner setup.
- int
- 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,disabled_and_overridable,disabled_and_unoverridable,disabled_with_override. -
List<Pulumi.
Git Lab. Outputs. Get Group Shared With Group> - Describes groups which have access shared to this group.
- 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.
- Default
Branch string - The default branch of the group.
- Default
Branch intProtection - Whether developers and maintainers can push to the applicable default branch.
- Description string
- The description of the group.
- int
- Can be set by administrators only. Additional CI/CD minutes for this group.
- 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.
- Id string
- The ID of this datasource. In the format
<group-id>. - Lfs
Enabled bool - Boolean, is LFS enabled for projects in this group.
- Membership
Lock bool - Users cannot be added to projects in this group.
- Name string
- The name of this 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.
- Request
Access boolEnabled - Boolean, is request for access enabled to the group.
- Runners
Token string - The group level registration token to use during runner setup.
- int
- 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,disabled_and_overridable,disabled_and_unoverridable,disabled_with_override. -
[]Get
Group Shared With Group - Describes groups which have access shared to this group.
- 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.
- default
Branch String - The default branch of the group.
- default
Branch IntegerProtection - Whether developers and maintainers can push to the applicable default branch.
- description String
- The description of the group.
- Integer
- Can be set by administrators only. Additional CI/CD minutes for this group.
- 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.
- id String
- The ID of this datasource. In the format
<group-id>. - lfs
Enabled Boolean - Boolean, is LFS enabled for projects in this group.
- membership
Lock Boolean - Users cannot be added to projects in this group.
- name String
- The name of this 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.
- request
Access BooleanEnabled - Boolean, is request for access enabled to the group.
- runners
Token String - The group level registration token to use during runner setup.
- Integer
- 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,disabled_and_overridable,disabled_and_unoverridable,disabled_with_override. -
List<Get
Group Shared With Group> - Describes groups which have access shared to this group.
- 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.
- default
Branch string - The default branch of the group.
- default
Branch numberProtection - Whether developers and maintainers can push to the applicable default branch.
- description string
- The description of the group.
- number
- Can be set by administrators only. Additional CI/CD minutes for this group.
- 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.
- id string
- The ID of this datasource. In the format
<group-id>. - lfs
Enabled boolean - Boolean, is LFS enabled for projects in this group.
- membership
Lock boolean - Users cannot be added to projects in this group.
- name string
- The name of this 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.
- request
Access booleanEnabled - Boolean, is request for access enabled to the group.
- runners
Token string - The group level registration token to use during runner setup.
- number
- 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,disabled_and_overridable,disabled_and_unoverridable,disabled_with_override. -
Get
Group Shared With Group[] - Describes groups which have access shared to this group.
- 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.
- default_
branch str - The default branch of the group.
- default_
branch_ intprotection - Whether developers and maintainers can push to the applicable default branch.
- description str
- The description of the group.
- int
- Can be set by administrators only. Additional CI/CD minutes for this group.
- 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.
- id str
- The ID of this datasource. In the format
<group-id>. - lfs_
enabled bool - Boolean, is LFS enabled for projects in this group.
- membership_
lock bool - Users cannot be added to projects in this group.
- name str
- The name of this 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.
- request_
access_ boolenabled - Boolean, is request for access enabled to the group.
- runners_
token str - The group level registration token to use during runner setup.
- int
- 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,disabled_and_overridable,disabled_and_unoverridable,disabled_with_override. -
Sequence[Get
Group Shared With Group] - Describes groups which have access shared to this group.
- 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.
- default
Branch String - The default branch of the group.
- default
Branch NumberProtection - Whether developers and maintainers can push to the applicable default branch.
- description String
- The description of the group.
- Number
- Can be set by administrators only. Additional CI/CD minutes for this group.
- 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.
- id String
- The ID of this datasource. In the format
<group-id>. - lfs
Enabled Boolean - Boolean, is LFS enabled for projects in this group.
- membership
Lock Boolean - Users cannot be added to projects in this group.
- name String
- The name of this 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.
- request
Access BooleanEnabled - Boolean, is request for access enabled to the group.
- runners
Token String - The group level registration token to use during runner setup.
- Number
- 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,disabled_and_overridable,disabled_and_unoverridable,disabled_with_override. - List<Property Map>
- Describes groups which have access shared to this group.
- 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.
Supporting Types
GetGroupSharedWithGroup
- Expires
At string - Share with group expiration date.
- Group
Access intLevel - The access_level 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 access_level 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 IntegerLevel - The access_level 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 access_level 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 access_level 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 access_level 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 v9.10.0
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
