1. Packages
  2. GitLab
  3. API Docs
  4. Group
GitLab v6.10.0 published on Monday, Mar 25, 2024 by Pulumi

gitlab.Group

Explore with Pulumi AI

gitlab logo
GitLab v6.10.0 published on Monday, Mar 25, 2024 by Pulumi

    The gitlab.Group resource allows to manage the lifecycle of a group.

    On GitLab SaaS, you must use the GitLab UI to create groups without a parent group. You cannot use this provider nor the API to do this.

    Upstream API: GitLab REST API docs

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as gitlab from "@pulumi/gitlab";
    
    const exampleGroup = new gitlab.Group("exampleGroup", {
        path: "example",
        description: "An example group",
    });
    // Create a project in the example group
    const exampleProject = new gitlab.Project("exampleProject", {
        description: "An example project",
        namespaceId: exampleGroup.id,
    });
    // Group with custom push rules
    const example_two = new gitlab.Group("example-two", {
        path: "example-two",
        description: "An example group with push rules",
        pushRules: {
            authorEmailRegex: "@example\\.com$",
            commitCommitterCheck: true,
            memberCheck: true,
            preventSecrets: true,
        },
    });
    
    import pulumi
    import pulumi_gitlab as gitlab
    
    example_group = gitlab.Group("exampleGroup",
        path="example",
        description="An example group")
    # Create a project in the example group
    example_project = gitlab.Project("exampleProject",
        description="An example project",
        namespace_id=example_group.id)
    # Group with custom push rules
    example_two = gitlab.Group("example-two",
        path="example-two",
        description="An example group with push rules",
        push_rules=gitlab.GroupPushRulesArgs(
            author_email_regex="@example\\.com$",
            commit_committer_check=True,
            member_check=True,
            prevent_secrets=True,
        ))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gitlab/sdk/v6/go/gitlab"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		exampleGroup, err := gitlab.NewGroup(ctx, "exampleGroup", &gitlab.GroupArgs{
    			Path:        pulumi.String("example"),
    			Description: pulumi.String("An example group"),
    		})
    		if err != nil {
    			return err
    		}
    		// Create a project in the example group
    		_, err = gitlab.NewProject(ctx, "exampleProject", &gitlab.ProjectArgs{
    			Description: pulumi.String("An example project"),
    			NamespaceId: exampleGroup.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		// Group with custom push rules
    		_, err = gitlab.NewGroup(ctx, "example-two", &gitlab.GroupArgs{
    			Path:        pulumi.String("example-two"),
    			Description: pulumi.String("An example group with push rules"),
    			PushRules: &gitlab.GroupPushRulesArgs{
    				AuthorEmailRegex:     pulumi.String("@example\\.com$"),
    				CommitCommitterCheck: pulumi.Bool(true),
    				MemberCheck:          pulumi.Bool(true),
    				PreventSecrets:       pulumi.Bool(true),
    			},
    		})
    		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 exampleGroup = new GitLab.Group("exampleGroup", new()
        {
            Path = "example",
            Description = "An example group",
        });
    
        // Create a project in the example group
        var exampleProject = new GitLab.Project("exampleProject", new()
        {
            Description = "An example project",
            NamespaceId = exampleGroup.Id,
        });
    
        // Group with custom push rules
        var example_two = new GitLab.Group("example-two", new()
        {
            Path = "example-two",
            Description = "An example group with push rules",
            PushRules = new GitLab.Inputs.GroupPushRulesArgs
            {
                AuthorEmailRegex = "@example\\.com$",
                CommitCommitterCheck = true,
                MemberCheck = true,
                PreventSecrets = true,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gitlab.Group;
    import com.pulumi.gitlab.GroupArgs;
    import com.pulumi.gitlab.Project;
    import com.pulumi.gitlab.ProjectArgs;
    import com.pulumi.gitlab.inputs.GroupPushRulesArgs;
    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 exampleGroup = new Group("exampleGroup", GroupArgs.builder()        
                .path("example")
                .description("An example group")
                .build());
    
            var exampleProject = new Project("exampleProject", ProjectArgs.builder()        
                .description("An example project")
                .namespaceId(exampleGroup.id())
                .build());
    
            var example_two = new Group("example-two", GroupArgs.builder()        
                .path("example-two")
                .description("An example group with push rules")
                .pushRules(GroupPushRulesArgs.builder()
                    .authorEmailRegex("@example\\.com$")
                    .commitCommitterCheck(true)
                    .memberCheck(true)
                    .preventSecrets(true)
                    .build())
                .build());
    
        }
    }
    
    resources:
      exampleGroup:
        type: gitlab:Group
        properties:
          path: example
          description: An example group
      # Create a project in the example group
      exampleProject:
        type: gitlab:Project
        properties:
          description: An example project
          namespaceId: ${exampleGroup.id}
      # Group with custom push rules
      example-two:
        type: gitlab:Group
        properties:
          path: example-two
          description: An example group with push rules
          pushRules:
            authorEmailRegex: '@example\.com$'
            commitCommitterCheck: true
            memberCheck: true
            preventSecrets: true
    

    Create Group Resource

    new Group(name: string, args: GroupArgs, opts?: CustomResourceOptions);
    @overload
    def Group(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              auto_devops_enabled: Optional[bool] = None,
              avatar: Optional[str] = None,
              avatar_hash: Optional[str] = None,
              default_branch_protection: Optional[int] = None,
              description: Optional[str] = None,
              emails_disabled: Optional[bool] = None,
              extra_shared_runners_minutes_limit: Optional[int] = None,
              ip_restriction_ranges: Optional[Sequence[str]] = None,
              lfs_enabled: Optional[bool] = None,
              membership_lock: Optional[bool] = None,
              mentions_disabled: Optional[bool] = None,
              name: Optional[str] = None,
              parent_id: Optional[int] = None,
              path: Optional[str] = None,
              prevent_forking_outside_group: Optional[bool] = None,
              project_creation_level: Optional[str] = None,
              push_rules: Optional[GroupPushRulesArgs] = None,
              request_access_enabled: Optional[bool] = None,
              require_two_factor_authentication: Optional[bool] = None,
              share_with_group_lock: Optional[bool] = None,
              shared_runners_minutes_limit: Optional[int] = None,
              shared_runners_setting: Optional[str] = None,
              subgroup_creation_level: Optional[str] = None,
              two_factor_grace_period: Optional[int] = None,
              visibility_level: Optional[str] = None,
              wiki_access_level: Optional[str] = None)
    @overload
    def Group(resource_name: str,
              args: GroupArgs,
              opts: Optional[ResourceOptions] = None)
    func NewGroup(ctx *Context, name string, args GroupArgs, opts ...ResourceOption) (*Group, error)
    public Group(string name, GroupArgs args, CustomResourceOptions? opts = null)
    public Group(String name, GroupArgs args)
    public Group(String name, GroupArgs args, CustomResourceOptions options)
    
    type: gitlab:Group
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args GroupArgs
    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 GroupArgs
    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 GroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GroupArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Group 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 Group resource accepts the following input properties:

    Path string
    The path of the group.
    AutoDevopsEnabled bool
    Default to Auto DevOps pipeline for all projects within this group.
    Avatar string
    A local path to the avatar image to upload. Note: not available for imported resources.
    AvatarHash string
    The hash of the avatar image. Use filesha256("path/to/avatar.png") whenever possible. Note: this is used to trigger an update of the avatar. If it's not given, but an avatar is given, the avatar will be updated each time.
    DefaultBranchProtection int
    See https://docs.gitlab.com/ee/api/groups.html#options-for-defaultbranchprotection. Valid values are: 0, 1, 2, 3, 4.
    Description string
    The group's description.
    EmailsDisabled bool
    Disable email notifications.
    ExtraSharedRunnersMinutesLimit int
    Can be set by administrators only. Additional CI/CD minutes for this group.
    IpRestrictionRanges List<string>
    A list of IP addresses or subnet masks to restrict group access. Will be concatenated together into a comma separated string. Only allowed on top level groups.
    LfsEnabled bool
    Enable/disable Large File Storage (LFS) for the projects in this group.
    MembershipLock bool
    Users cannot be added to projects in this group.
    MentionsDisabled bool
    Disable the capability of a group from getting mentioned.
    Name string
    The name of the group.
    ParentId int
    Id of the parent group (creates a nested group).
    PreventForkingOutsideGroup bool
    Defaults to false. When enabled, users can not fork projects from this group to external namespaces.
    ProjectCreationLevel string
    Determine if developers can create projects in the group. Valid values are: noone, maintainer, developer
    PushRules Pulumi.GitLab.Inputs.GroupPushRules
    Push rules for the group.
    RequestAccessEnabled bool
    Allow users to request member access.
    RequireTwoFactorAuthentication bool
    Require all users in this group to setup Two-factor authentication.
    ShareWithGroupLock bool
    Prevent sharing a project with another group within this group.
    SharedRunnersMinutesLimit 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.
    SharedRunnersSetting 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.
    SubgroupCreationLevel string
    Allowed to create subgroups. Valid values are: owner, maintainer.
    TwoFactorGracePeriod int
    Defaults to 48. Time before Two-factor authentication is enforced (in hours).
    VisibilityLevel string
    The group's visibility. Can be private, internal, or public. Valid values are: private, internal, public.
    WikiAccessLevel string
    The group's wiki access level. Only available on Premium and Ultimate plans. Valid values are disabled, private, enabled.
    Path string
    The path of the group.
    AutoDevopsEnabled bool
    Default to Auto DevOps pipeline for all projects within this group.
    Avatar string
    A local path to the avatar image to upload. Note: not available for imported resources.
    AvatarHash string
    The hash of the avatar image. Use filesha256("path/to/avatar.png") whenever possible. Note: this is used to trigger an update of the avatar. If it's not given, but an avatar is given, the avatar will be updated each time.
    DefaultBranchProtection int
    See https://docs.gitlab.com/ee/api/groups.html#options-for-defaultbranchprotection. Valid values are: 0, 1, 2, 3, 4.
    Description string
    The group's description.
    EmailsDisabled bool
    Disable email notifications.
    ExtraSharedRunnersMinutesLimit int
    Can be set by administrators only. Additional CI/CD minutes for this group.
    IpRestrictionRanges []string
    A list of IP addresses or subnet masks to restrict group access. Will be concatenated together into a comma separated string. Only allowed on top level groups.
    LfsEnabled bool
    Enable/disable Large File Storage (LFS) for the projects in this group.
    MembershipLock bool
    Users cannot be added to projects in this group.
    MentionsDisabled bool
    Disable the capability of a group from getting mentioned.
    Name string
    The name of the group.
    ParentId int
    Id of the parent group (creates a nested group).
    PreventForkingOutsideGroup bool
    Defaults to false. When enabled, users can not fork projects from this group to external namespaces.
    ProjectCreationLevel string
    Determine if developers can create projects in the group. Valid values are: noone, maintainer, developer
    PushRules GroupPushRulesArgs
    Push rules for the group.
    RequestAccessEnabled bool
    Allow users to request member access.
    RequireTwoFactorAuthentication bool
    Require all users in this group to setup Two-factor authentication.
    ShareWithGroupLock bool
    Prevent sharing a project with another group within this group.
    SharedRunnersMinutesLimit 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.
    SharedRunnersSetting 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.
    SubgroupCreationLevel string
    Allowed to create subgroups. Valid values are: owner, maintainer.
    TwoFactorGracePeriod int
    Defaults to 48. Time before Two-factor authentication is enforced (in hours).
    VisibilityLevel string
    The group's visibility. Can be private, internal, or public. Valid values are: private, internal, public.
    WikiAccessLevel string
    The group's wiki access level. Only available on Premium and Ultimate plans. Valid values are disabled, private, enabled.
    path String
    The path of the group.
    autoDevopsEnabled Boolean
    Default to Auto DevOps pipeline for all projects within this group.
    avatar String
    A local path to the avatar image to upload. Note: not available for imported resources.
    avatarHash String
    The hash of the avatar image. Use filesha256("path/to/avatar.png") whenever possible. Note: this is used to trigger an update of the avatar. If it's not given, but an avatar is given, the avatar will be updated each time.
    defaultBranchProtection Integer
    See https://docs.gitlab.com/ee/api/groups.html#options-for-defaultbranchprotection. Valid values are: 0, 1, 2, 3, 4.
    description String
    The group's description.
    emailsDisabled Boolean
    Disable email notifications.
    extraSharedRunnersMinutesLimit Integer
    Can be set by administrators only. Additional CI/CD minutes for this group.
    ipRestrictionRanges List<String>
    A list of IP addresses or subnet masks to restrict group access. Will be concatenated together into a comma separated string. Only allowed on top level groups.
    lfsEnabled Boolean
    Enable/disable Large File Storage (LFS) for the projects in this group.
    membershipLock Boolean
    Users cannot be added to projects in this group.
    mentionsDisabled Boolean
    Disable the capability of a group from getting mentioned.
    name String
    The name of the group.
    parentId Integer
    Id of the parent group (creates a nested group).
    preventForkingOutsideGroup Boolean
    Defaults to false. When enabled, users can not fork projects from this group to external namespaces.
    projectCreationLevel String
    Determine if developers can create projects in the group. Valid values are: noone, maintainer, developer
    pushRules GroupPushRules
    Push rules for the group.
    requestAccessEnabled Boolean
    Allow users to request member access.
    requireTwoFactorAuthentication Boolean
    Require all users in this group to setup Two-factor authentication.
    shareWithGroupLock Boolean
    Prevent sharing a project with another group within this group.
    sharedRunnersMinutesLimit 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.
    sharedRunnersSetting 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.
    subgroupCreationLevel String
    Allowed to create subgroups. Valid values are: owner, maintainer.
    twoFactorGracePeriod Integer
    Defaults to 48. Time before Two-factor authentication is enforced (in hours).
    visibilityLevel String
    The group's visibility. Can be private, internal, or public. Valid values are: private, internal, public.
    wikiAccessLevel String
    The group's wiki access level. Only available on Premium and Ultimate plans. Valid values are disabled, private, enabled.
    path string
    The path of the group.
    autoDevopsEnabled boolean
    Default to Auto DevOps pipeline for all projects within this group.
    avatar string
    A local path to the avatar image to upload. Note: not available for imported resources.
    avatarHash string
    The hash of the avatar image. Use filesha256("path/to/avatar.png") whenever possible. Note: this is used to trigger an update of the avatar. If it's not given, but an avatar is given, the avatar will be updated each time.
    defaultBranchProtection number
    See https://docs.gitlab.com/ee/api/groups.html#options-for-defaultbranchprotection. Valid values are: 0, 1, 2, 3, 4.
    description string
    The group's description.
    emailsDisabled boolean
    Disable email notifications.
    extraSharedRunnersMinutesLimit number
    Can be set by administrators only. Additional CI/CD minutes for this group.
    ipRestrictionRanges string[]
    A list of IP addresses or subnet masks to restrict group access. Will be concatenated together into a comma separated string. Only allowed on top level groups.
    lfsEnabled boolean
    Enable/disable Large File Storage (LFS) for the projects in this group.
    membershipLock boolean
    Users cannot be added to projects in this group.
    mentionsDisabled boolean
    Disable the capability of a group from getting mentioned.
    name string
    The name of the group.
    parentId number
    Id of the parent group (creates a nested group).
    preventForkingOutsideGroup boolean
    Defaults to false. When enabled, users can not fork projects from this group to external namespaces.
    projectCreationLevel string
    Determine if developers can create projects in the group. Valid values are: noone, maintainer, developer
    pushRules GroupPushRules
    Push rules for the group.
    requestAccessEnabled boolean
    Allow users to request member access.
    requireTwoFactorAuthentication boolean
    Require all users in this group to setup Two-factor authentication.
    shareWithGroupLock boolean
    Prevent sharing a project with another group within this group.
    sharedRunnersMinutesLimit 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.
    sharedRunnersSetting 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.
    subgroupCreationLevel string
    Allowed to create subgroups. Valid values are: owner, maintainer.
    twoFactorGracePeriod number
    Defaults to 48. Time before Two-factor authentication is enforced (in hours).
    visibilityLevel string
    The group's visibility. Can be private, internal, or public. Valid values are: private, internal, public.
    wikiAccessLevel string
    The group's wiki access level. Only available on Premium and Ultimate plans. Valid values are disabled, private, enabled.
    path str
    The path of the group.
    auto_devops_enabled bool
    Default to Auto DevOps pipeline for all projects within this group.
    avatar str
    A local path to the avatar image to upload. Note: not available for imported resources.
    avatar_hash str
    The hash of the avatar image. Use filesha256("path/to/avatar.png") whenever possible. Note: this is used to trigger an update of the avatar. If it's not given, but an avatar is given, the avatar will be updated each time.
    default_branch_protection int
    See https://docs.gitlab.com/ee/api/groups.html#options-for-defaultbranchprotection. Valid values are: 0, 1, 2, 3, 4.
    description str
    The group's description.
    emails_disabled bool
    Disable email notifications.
    extra_shared_runners_minutes_limit int
    Can be set by administrators only. Additional CI/CD minutes for this group.
    ip_restriction_ranges Sequence[str]
    A list of IP addresses or subnet masks to restrict group access. Will be concatenated together into a comma separated string. Only allowed on top level groups.
    lfs_enabled bool
    Enable/disable Large File Storage (LFS) for the projects in this group.
    membership_lock bool
    Users cannot be added to projects in this group.
    mentions_disabled bool
    Disable the capability of a group from getting mentioned.
    name str
    The name of the group.
    parent_id int
    Id of the parent group (creates a nested group).
    prevent_forking_outside_group bool
    Defaults to false. When enabled, users can not fork projects from this group to external namespaces.
    project_creation_level str
    Determine if developers can create projects in the group. Valid values are: noone, maintainer, developer
    push_rules GroupPushRulesArgs
    Push rules for the group.
    request_access_enabled bool
    Allow users to request member access.
    require_two_factor_authentication bool
    Require all users in this group to setup Two-factor authentication.
    share_with_group_lock bool
    Prevent sharing a project with another group within this group.
    shared_runners_minutes_limit 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.
    shared_runners_setting 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.
    subgroup_creation_level str
    Allowed to create subgroups. Valid values are: owner, maintainer.
    two_factor_grace_period int
    Defaults to 48. Time before Two-factor authentication is enforced (in hours).
    visibility_level str
    The group's visibility. Can be private, internal, or public. Valid values are: private, internal, public.
    wiki_access_level str
    The group's wiki access level. Only available on Premium and Ultimate plans. Valid values are disabled, private, enabled.
    path String
    The path of the group.
    autoDevopsEnabled Boolean
    Default to Auto DevOps pipeline for all projects within this group.
    avatar String
    A local path to the avatar image to upload. Note: not available for imported resources.
    avatarHash String
    The hash of the avatar image. Use filesha256("path/to/avatar.png") whenever possible. Note: this is used to trigger an update of the avatar. If it's not given, but an avatar is given, the avatar will be updated each time.
    defaultBranchProtection Number
    See https://docs.gitlab.com/ee/api/groups.html#options-for-defaultbranchprotection. Valid values are: 0, 1, 2, 3, 4.
    description String
    The group's description.
    emailsDisabled Boolean
    Disable email notifications.
    extraSharedRunnersMinutesLimit Number
    Can be set by administrators only. Additional CI/CD minutes for this group.
    ipRestrictionRanges List<String>
    A list of IP addresses or subnet masks to restrict group access. Will be concatenated together into a comma separated string. Only allowed on top level groups.
    lfsEnabled Boolean
    Enable/disable Large File Storage (LFS) for the projects in this group.
    membershipLock Boolean
    Users cannot be added to projects in this group.
    mentionsDisabled Boolean
    Disable the capability of a group from getting mentioned.
    name String
    The name of the group.
    parentId Number
    Id of the parent group (creates a nested group).
    preventForkingOutsideGroup Boolean
    Defaults to false. When enabled, users can not fork projects from this group to external namespaces.
    projectCreationLevel String
    Determine if developers can create projects in the group. Valid values are: noone, maintainer, developer
    pushRules Property Map
    Push rules for the group.
    requestAccessEnabled Boolean
    Allow users to request member access.
    requireTwoFactorAuthentication Boolean
    Require all users in this group to setup Two-factor authentication.
    shareWithGroupLock Boolean
    Prevent sharing a project with another group within this group.
    sharedRunnersMinutesLimit 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.
    sharedRunnersSetting 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.
    subgroupCreationLevel String
    Allowed to create subgroups. Valid values are: owner, maintainer.
    twoFactorGracePeriod Number
    Defaults to 48. Time before Two-factor authentication is enforced (in hours).
    visibilityLevel String
    The group's visibility. Can be private, internal, or public. Valid values are: private, internal, public.
    wikiAccessLevel String
    The group's wiki access level. Only available on Premium and Ultimate plans. Valid values are disabled, private, enabled.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Group resource produces the following output properties:

    AvatarUrl string
    The URL of the avatar image.
    FullName string
    The full name of the group.
    FullPath string
    The full path of the group.
    Id string
    The provider-assigned unique ID for this managed resource.
    RunnersToken string
    The group level registration token to use during runner setup.
    WebUrl string
    Web URL of the group.
    AvatarUrl string
    The URL of the avatar image.
    FullName string
    The full name of the group.
    FullPath string
    The full path of the group.
    Id string
    The provider-assigned unique ID for this managed resource.
    RunnersToken string
    The group level registration token to use during runner setup.
    WebUrl string
    Web URL of the group.
    avatarUrl String
    The URL of the avatar image.
    fullName String
    The full name of the group.
    fullPath String
    The full path of the group.
    id String
    The provider-assigned unique ID for this managed resource.
    runnersToken String
    The group level registration token to use during runner setup.
    webUrl String
    Web URL of the group.
    avatarUrl string
    The URL of the avatar image.
    fullName string
    The full name of the group.
    fullPath string
    The full path of the group.
    id string
    The provider-assigned unique ID for this managed resource.
    runnersToken string
    The group level registration token to use during runner setup.
    webUrl string
    Web URL of the group.
    avatar_url str
    The URL of the avatar image.
    full_name str
    The full name of the group.
    full_path str
    The full path of the group.
    id str
    The provider-assigned unique ID for this managed resource.
    runners_token str
    The group level registration token to use during runner setup.
    web_url str
    Web URL of the group.
    avatarUrl String
    The URL of the avatar image.
    fullName String
    The full name of the group.
    fullPath String
    The full path of the group.
    id String
    The provider-assigned unique ID for this managed resource.
    runnersToken String
    The group level registration token to use during runner setup.
    webUrl String
    Web URL of the group.

    Look up Existing Group Resource

    Get an existing Group 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?: GroupState, opts?: CustomResourceOptions): Group
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            auto_devops_enabled: Optional[bool] = None,
            avatar: Optional[str] = None,
            avatar_hash: Optional[str] = None,
            avatar_url: Optional[str] = None,
            default_branch_protection: Optional[int] = None,
            description: Optional[str] = None,
            emails_disabled: Optional[bool] = None,
            extra_shared_runners_minutes_limit: Optional[int] = None,
            full_name: Optional[str] = None,
            full_path: Optional[str] = None,
            ip_restriction_ranges: Optional[Sequence[str]] = None,
            lfs_enabled: Optional[bool] = None,
            membership_lock: Optional[bool] = None,
            mentions_disabled: Optional[bool] = None,
            name: Optional[str] = None,
            parent_id: Optional[int] = None,
            path: Optional[str] = None,
            prevent_forking_outside_group: Optional[bool] = None,
            project_creation_level: Optional[str] = None,
            push_rules: Optional[GroupPushRulesArgs] = None,
            request_access_enabled: Optional[bool] = None,
            require_two_factor_authentication: Optional[bool] = None,
            runners_token: Optional[str] = None,
            share_with_group_lock: Optional[bool] = None,
            shared_runners_minutes_limit: Optional[int] = None,
            shared_runners_setting: Optional[str] = None,
            subgroup_creation_level: Optional[str] = None,
            two_factor_grace_period: Optional[int] = None,
            visibility_level: Optional[str] = None,
            web_url: Optional[str] = None,
            wiki_access_level: Optional[str] = None) -> Group
    func GetGroup(ctx *Context, name string, id IDInput, state *GroupState, opts ...ResourceOption) (*Group, error)
    public static Group Get(string name, Input<string> id, GroupState? state, CustomResourceOptions? opts = null)
    public static Group get(String name, Output<String> id, GroupState 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.
    The following state arguments are supported:
    AutoDevopsEnabled bool
    Default to Auto DevOps pipeline for all projects within this group.
    Avatar string
    A local path to the avatar image to upload. Note: not available for imported resources.
    AvatarHash string
    The hash of the avatar image. Use filesha256("path/to/avatar.png") whenever possible. Note: this is used to trigger an update of the avatar. If it's not given, but an avatar is given, the avatar will be updated each time.
    AvatarUrl string
    The URL of the avatar image.
    DefaultBranchProtection int
    See https://docs.gitlab.com/ee/api/groups.html#options-for-defaultbranchprotection. Valid values are: 0, 1, 2, 3, 4.
    Description string
    The group's description.
    EmailsDisabled bool
    Disable email notifications.
    ExtraSharedRunnersMinutesLimit int
    Can be set by administrators only. Additional CI/CD minutes for this group.
    FullName string
    The full name of the group.
    FullPath string
    The full path of the group.
    IpRestrictionRanges List<string>
    A list of IP addresses or subnet masks to restrict group access. Will be concatenated together into a comma separated string. Only allowed on top level groups.
    LfsEnabled bool
    Enable/disable Large File Storage (LFS) for the projects in this group.
    MembershipLock bool
    Users cannot be added to projects in this group.
    MentionsDisabled bool
    Disable the capability of a group from getting mentioned.
    Name string
    The name of the group.
    ParentId int
    Id of the parent group (creates a nested group).
    Path string
    The path of the group.
    PreventForkingOutsideGroup bool
    Defaults to false. When enabled, users can not fork projects from this group to external namespaces.
    ProjectCreationLevel string
    Determine if developers can create projects in the group. Valid values are: noone, maintainer, developer
    PushRules Pulumi.GitLab.Inputs.GroupPushRules
    Push rules for the group.
    RequestAccessEnabled bool
    Allow users to request member access.
    RequireTwoFactorAuthentication bool
    Require all users in this group to setup Two-factor authentication.
    RunnersToken string
    The group level registration token to use during runner setup.
    ShareWithGroupLock bool
    Prevent sharing a project with another group within this group.
    SharedRunnersMinutesLimit 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.
    SharedRunnersSetting 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.
    SubgroupCreationLevel string
    Allowed to create subgroups. Valid values are: owner, maintainer.
    TwoFactorGracePeriod int
    Defaults to 48. Time before Two-factor authentication is enforced (in hours).
    VisibilityLevel string
    The group's visibility. Can be private, internal, or public. Valid values are: private, internal, public.
    WebUrl string
    Web URL of the group.
    WikiAccessLevel string
    The group's wiki access level. Only available on Premium and Ultimate plans. Valid values are disabled, private, enabled.
    AutoDevopsEnabled bool
    Default to Auto DevOps pipeline for all projects within this group.
    Avatar string
    A local path to the avatar image to upload. Note: not available for imported resources.
    AvatarHash string
    The hash of the avatar image. Use filesha256("path/to/avatar.png") whenever possible. Note: this is used to trigger an update of the avatar. If it's not given, but an avatar is given, the avatar will be updated each time.
    AvatarUrl string
    The URL of the avatar image.
    DefaultBranchProtection int
    See https://docs.gitlab.com/ee/api/groups.html#options-for-defaultbranchprotection. Valid values are: 0, 1, 2, 3, 4.
    Description string
    The group's description.
    EmailsDisabled bool
    Disable email notifications.
    ExtraSharedRunnersMinutesLimit int
    Can be set by administrators only. Additional CI/CD minutes for this group.
    FullName string
    The full name of the group.
    FullPath string
    The full path of the group.
    IpRestrictionRanges []string
    A list of IP addresses or subnet masks to restrict group access. Will be concatenated together into a comma separated string. Only allowed on top level groups.
    LfsEnabled bool
    Enable/disable Large File Storage (LFS) for the projects in this group.
    MembershipLock bool
    Users cannot be added to projects in this group.
    MentionsDisabled bool
    Disable the capability of a group from getting mentioned.
    Name string
    The name of the group.
    ParentId int
    Id of the parent group (creates a nested group).
    Path string
    The path of the group.
    PreventForkingOutsideGroup bool
    Defaults to false. When enabled, users can not fork projects from this group to external namespaces.
    ProjectCreationLevel string
    Determine if developers can create projects in the group. Valid values are: noone, maintainer, developer
    PushRules GroupPushRulesArgs
    Push rules for the group.
    RequestAccessEnabled bool
    Allow users to request member access.
    RequireTwoFactorAuthentication bool
    Require all users in this group to setup Two-factor authentication.
    RunnersToken string
    The group level registration token to use during runner setup.
    ShareWithGroupLock bool
    Prevent sharing a project with another group within this group.
    SharedRunnersMinutesLimit 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.
    SharedRunnersSetting 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.
    SubgroupCreationLevel string
    Allowed to create subgroups. Valid values are: owner, maintainer.
    TwoFactorGracePeriod int
    Defaults to 48. Time before Two-factor authentication is enforced (in hours).
    VisibilityLevel string
    The group's visibility. Can be private, internal, or public. Valid values are: private, internal, public.
    WebUrl string
    Web URL of the group.
    WikiAccessLevel string
    The group's wiki access level. Only available on Premium and Ultimate plans. Valid values are disabled, private, enabled.
    autoDevopsEnabled Boolean
    Default to Auto DevOps pipeline for all projects within this group.
    avatar String
    A local path to the avatar image to upload. Note: not available for imported resources.
    avatarHash String
    The hash of the avatar image. Use filesha256("path/to/avatar.png") whenever possible. Note: this is used to trigger an update of the avatar. If it's not given, but an avatar is given, the avatar will be updated each time.
    avatarUrl String
    The URL of the avatar image.
    defaultBranchProtection Integer
    See https://docs.gitlab.com/ee/api/groups.html#options-for-defaultbranchprotection. Valid values are: 0, 1, 2, 3, 4.
    description String
    The group's description.
    emailsDisabled Boolean
    Disable email notifications.
    extraSharedRunnersMinutesLimit Integer
    Can be set by administrators only. Additional CI/CD minutes for this group.
    fullName String
    The full name of the group.
    fullPath String
    The full path of the group.
    ipRestrictionRanges List<String>
    A list of IP addresses or subnet masks to restrict group access. Will be concatenated together into a comma separated string. Only allowed on top level groups.
    lfsEnabled Boolean
    Enable/disable Large File Storage (LFS) for the projects in this group.
    membershipLock Boolean
    Users cannot be added to projects in this group.
    mentionsDisabled Boolean
    Disable the capability of a group from getting mentioned.
    name String
    The name of the group.
    parentId Integer
    Id of the parent group (creates a nested group).
    path String
    The path of the group.
    preventForkingOutsideGroup Boolean
    Defaults to false. When enabled, users can not fork projects from this group to external namespaces.
    projectCreationLevel String
    Determine if developers can create projects in the group. Valid values are: noone, maintainer, developer
    pushRules GroupPushRules
    Push rules for the group.
    requestAccessEnabled Boolean
    Allow users to request member access.
    requireTwoFactorAuthentication Boolean
    Require all users in this group to setup Two-factor authentication.
    runnersToken String
    The group level registration token to use during runner setup.
    shareWithGroupLock Boolean
    Prevent sharing a project with another group within this group.
    sharedRunnersMinutesLimit 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.
    sharedRunnersSetting 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.
    subgroupCreationLevel String
    Allowed to create subgroups. Valid values are: owner, maintainer.
    twoFactorGracePeriod Integer
    Defaults to 48. Time before Two-factor authentication is enforced (in hours).
    visibilityLevel String
    The group's visibility. Can be private, internal, or public. Valid values are: private, internal, public.
    webUrl String
    Web URL of the group.
    wikiAccessLevel String
    The group's wiki access level. Only available on Premium and Ultimate plans. Valid values are disabled, private, enabled.
    autoDevopsEnabled boolean
    Default to Auto DevOps pipeline for all projects within this group.
    avatar string
    A local path to the avatar image to upload. Note: not available for imported resources.
    avatarHash string
    The hash of the avatar image. Use filesha256("path/to/avatar.png") whenever possible. Note: this is used to trigger an update of the avatar. If it's not given, but an avatar is given, the avatar will be updated each time.
    avatarUrl string
    The URL of the avatar image.
    defaultBranchProtection number
    See https://docs.gitlab.com/ee/api/groups.html#options-for-defaultbranchprotection. Valid values are: 0, 1, 2, 3, 4.
    description string
    The group's description.
    emailsDisabled boolean
    Disable email notifications.
    extraSharedRunnersMinutesLimit number
    Can be set by administrators only. Additional CI/CD minutes for this group.
    fullName string
    The full name of the group.
    fullPath string
    The full path of the group.
    ipRestrictionRanges string[]
    A list of IP addresses or subnet masks to restrict group access. Will be concatenated together into a comma separated string. Only allowed on top level groups.
    lfsEnabled boolean
    Enable/disable Large File Storage (LFS) for the projects in this group.
    membershipLock boolean
    Users cannot be added to projects in this group.
    mentionsDisabled boolean
    Disable the capability of a group from getting mentioned.
    name string
    The name of the group.
    parentId number
    Id of the parent group (creates a nested group).
    path string
    The path of the group.
    preventForkingOutsideGroup boolean
    Defaults to false. When enabled, users can not fork projects from this group to external namespaces.
    projectCreationLevel string
    Determine if developers can create projects in the group. Valid values are: noone, maintainer, developer
    pushRules GroupPushRules
    Push rules for the group.
    requestAccessEnabled boolean
    Allow users to request member access.
    requireTwoFactorAuthentication boolean
    Require all users in this group to setup Two-factor authentication.
    runnersToken string
    The group level registration token to use during runner setup.
    shareWithGroupLock boolean
    Prevent sharing a project with another group within this group.
    sharedRunnersMinutesLimit 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.
    sharedRunnersSetting 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.
    subgroupCreationLevel string
    Allowed to create subgroups. Valid values are: owner, maintainer.
    twoFactorGracePeriod number
    Defaults to 48. Time before Two-factor authentication is enforced (in hours).
    visibilityLevel string
    The group's visibility. Can be private, internal, or public. Valid values are: private, internal, public.
    webUrl string
    Web URL of the group.
    wikiAccessLevel string
    The group's wiki access level. Only available on Premium and Ultimate plans. Valid values are disabled, private, enabled.
    auto_devops_enabled bool
    Default to Auto DevOps pipeline for all projects within this group.
    avatar str
    A local path to the avatar image to upload. Note: not available for imported resources.
    avatar_hash str
    The hash of the avatar image. Use filesha256("path/to/avatar.png") whenever possible. Note: this is used to trigger an update of the avatar. If it's not given, but an avatar is given, the avatar will be updated each time.
    avatar_url str
    The URL of the avatar image.
    default_branch_protection int
    See https://docs.gitlab.com/ee/api/groups.html#options-for-defaultbranchprotection. Valid values are: 0, 1, 2, 3, 4.
    description str
    The group's description.
    emails_disabled bool
    Disable email notifications.
    extra_shared_runners_minutes_limit 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.
    ip_restriction_ranges Sequence[str]
    A list of IP addresses or subnet masks to restrict group access. Will be concatenated together into a comma separated string. Only allowed on top level groups.
    lfs_enabled bool
    Enable/disable Large File Storage (LFS) for the projects in this group.
    membership_lock bool
    Users cannot be added to projects in this group.
    mentions_disabled bool
    Disable the capability of a group from getting mentioned.
    name str
    The name of the group.
    parent_id int
    Id of the parent group (creates a nested group).
    path str
    The path of the group.
    prevent_forking_outside_group bool
    Defaults to false. When enabled, users can not fork projects from this group to external namespaces.
    project_creation_level str
    Determine if developers can create projects in the group. Valid values are: noone, maintainer, developer
    push_rules GroupPushRulesArgs
    Push rules for the group.
    request_access_enabled bool
    Allow users to request member access.
    require_two_factor_authentication bool
    Require all users in this group to setup Two-factor authentication.
    runners_token str
    The group level registration token to use during runner setup.
    share_with_group_lock bool
    Prevent sharing a project with another group within this group.
    shared_runners_minutes_limit 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.
    shared_runners_setting 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.
    subgroup_creation_level str
    Allowed to create subgroups. Valid values are: owner, maintainer.
    two_factor_grace_period int
    Defaults to 48. Time before Two-factor authentication is enforced (in hours).
    visibility_level str
    The group's visibility. Can be private, internal, or public. Valid values are: private, internal, public.
    web_url str
    Web URL of the group.
    wiki_access_level str
    The group's wiki access level. Only available on Premium and Ultimate plans. Valid values are disabled, private, enabled.
    autoDevopsEnabled Boolean
    Default to Auto DevOps pipeline for all projects within this group.
    avatar String
    A local path to the avatar image to upload. Note: not available for imported resources.
    avatarHash String
    The hash of the avatar image. Use filesha256("path/to/avatar.png") whenever possible. Note: this is used to trigger an update of the avatar. If it's not given, but an avatar is given, the avatar will be updated each time.
    avatarUrl String
    The URL of the avatar image.
    defaultBranchProtection Number
    See https://docs.gitlab.com/ee/api/groups.html#options-for-defaultbranchprotection. Valid values are: 0, 1, 2, 3, 4.
    description String
    The group's description.
    emailsDisabled Boolean
    Disable email notifications.
    extraSharedRunnersMinutesLimit Number
    Can be set by administrators only. Additional CI/CD minutes for this group.
    fullName String
    The full name of the group.
    fullPath String
    The full path of the group.
    ipRestrictionRanges List<String>
    A list of IP addresses or subnet masks to restrict group access. Will be concatenated together into a comma separated string. Only allowed on top level groups.
    lfsEnabled Boolean
    Enable/disable Large File Storage (LFS) for the projects in this group.
    membershipLock Boolean
    Users cannot be added to projects in this group.
    mentionsDisabled Boolean
    Disable the capability of a group from getting mentioned.
    name String
    The name of the group.
    parentId Number
    Id of the parent group (creates a nested group).
    path String
    The path of the group.
    preventForkingOutsideGroup Boolean
    Defaults to false. When enabled, users can not fork projects from this group to external namespaces.
    projectCreationLevel String
    Determine if developers can create projects in the group. Valid values are: noone, maintainer, developer
    pushRules Property Map
    Push rules for the group.
    requestAccessEnabled Boolean
    Allow users to request member access.
    requireTwoFactorAuthentication Boolean
    Require all users in this group to setup Two-factor authentication.
    runnersToken String
    The group level registration token to use during runner setup.
    shareWithGroupLock Boolean
    Prevent sharing a project with another group within this group.
    sharedRunnersMinutesLimit 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.
    sharedRunnersSetting 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.
    subgroupCreationLevel String
    Allowed to create subgroups. Valid values are: owner, maintainer.
    twoFactorGracePeriod Number
    Defaults to 48. Time before Two-factor authentication is enforced (in hours).
    visibilityLevel String
    The group's visibility. Can be private, internal, or public. Valid values are: private, internal, public.
    webUrl String
    Web URL of the group.
    wikiAccessLevel String
    The group's wiki access level. Only available on Premium and Ultimate plans. Valid values are disabled, private, enabled.

    Supporting Types

    GroupPushRules, GroupPushRulesArgs

    AuthorEmailRegex string
    All commit author emails must match this regex, e.g. @my-company.com$.
    BranchNameRegex string
    All branch names must match this regex, e.g. (feature|hotfix)\/*.
    CommitCommitterCheck bool
    Only commits pushed using verified emails are allowed. Note This attribute is only supported in GitLab versions >= 16.4.
    CommitMessageNegativeRegex string
    No commit message is allowed to match this regex, for example ssh\:\/\/.
    CommitMessageRegex string
    All commit messages must match this regex, e.g. Fixed \d+\..*.
    DenyDeleteTag bool
    Deny deleting a tag.
    FileNameRegex string
    Filenames matching the regular expression provided in this attribute are not allowed, for example, (jar|exe)$.
    MaxFileSize int
    Maximum file size (MB) allowed.
    MemberCheck bool
    Allows only GitLab users to author commits.
    PreventSecrets bool
    GitLab will reject any files that are likely to contain secrets.
    RejectUnsignedCommits bool
    Only commits signed through GPG are allowed. Note This attribute is only supported in GitLab versions >= 16.4.
    AuthorEmailRegex string
    All commit author emails must match this regex, e.g. @my-company.com$.
    BranchNameRegex string
    All branch names must match this regex, e.g. (feature|hotfix)\/*.
    CommitCommitterCheck bool
    Only commits pushed using verified emails are allowed. Note This attribute is only supported in GitLab versions >= 16.4.
    CommitMessageNegativeRegex string
    No commit message is allowed to match this regex, for example ssh\:\/\/.
    CommitMessageRegex string
    All commit messages must match this regex, e.g. Fixed \d+\..*.
    DenyDeleteTag bool
    Deny deleting a tag.
    FileNameRegex string
    Filenames matching the regular expression provided in this attribute are not allowed, for example, (jar|exe)$.
    MaxFileSize int
    Maximum file size (MB) allowed.
    MemberCheck bool
    Allows only GitLab users to author commits.
    PreventSecrets bool
    GitLab will reject any files that are likely to contain secrets.
    RejectUnsignedCommits bool
    Only commits signed through GPG are allowed. Note This attribute is only supported in GitLab versions >= 16.4.
    authorEmailRegex String
    All commit author emails must match this regex, e.g. @my-company.com$.
    branchNameRegex String
    All branch names must match this regex, e.g. (feature|hotfix)\/*.
    commitCommitterCheck Boolean
    Only commits pushed using verified emails are allowed. Note This attribute is only supported in GitLab versions >= 16.4.
    commitMessageNegativeRegex String
    No commit message is allowed to match this regex, for example ssh\:\/\/.
    commitMessageRegex String
    All commit messages must match this regex, e.g. Fixed \d+\..*.
    denyDeleteTag Boolean
    Deny deleting a tag.
    fileNameRegex String
    Filenames matching the regular expression provided in this attribute are not allowed, for example, (jar|exe)$.
    maxFileSize Integer
    Maximum file size (MB) allowed.
    memberCheck Boolean
    Allows only GitLab users to author commits.
    preventSecrets Boolean
    GitLab will reject any files that are likely to contain secrets.
    rejectUnsignedCommits Boolean
    Only commits signed through GPG are allowed. Note This attribute is only supported in GitLab versions >= 16.4.
    authorEmailRegex string
    All commit author emails must match this regex, e.g. @my-company.com$.
    branchNameRegex string
    All branch names must match this regex, e.g. (feature|hotfix)\/*.
    commitCommitterCheck boolean
    Only commits pushed using verified emails are allowed. Note This attribute is only supported in GitLab versions >= 16.4.
    commitMessageNegativeRegex string
    No commit message is allowed to match this regex, for example ssh\:\/\/.
    commitMessageRegex string
    All commit messages must match this regex, e.g. Fixed \d+\..*.
    denyDeleteTag boolean
    Deny deleting a tag.
    fileNameRegex string
    Filenames matching the regular expression provided in this attribute are not allowed, for example, (jar|exe)$.
    maxFileSize number
    Maximum file size (MB) allowed.
    memberCheck boolean
    Allows only GitLab users to author commits.
    preventSecrets boolean
    GitLab will reject any files that are likely to contain secrets.
    rejectUnsignedCommits boolean
    Only commits signed through GPG are allowed. Note This attribute is only supported in GitLab versions >= 16.4.
    author_email_regex str
    All commit author emails must match this regex, e.g. @my-company.com$.
    branch_name_regex str
    All branch names must match this regex, e.g. (feature|hotfix)\/*.
    commit_committer_check bool
    Only commits pushed using verified emails are allowed. Note This attribute is only supported in GitLab versions >= 16.4.
    commit_message_negative_regex str
    No commit message is allowed to match this regex, for example ssh\:\/\/.
    commit_message_regex str
    All commit messages must match this regex, e.g. Fixed \d+\..*.
    deny_delete_tag bool
    Deny deleting a tag.
    file_name_regex str
    Filenames matching the regular expression provided in this attribute are not allowed, for example, (jar|exe)$.
    max_file_size int
    Maximum file size (MB) allowed.
    member_check bool
    Allows only GitLab users to author commits.
    prevent_secrets bool
    GitLab will reject any files that are likely to contain secrets.
    reject_unsigned_commits bool
    Only commits signed through GPG are allowed. Note This attribute is only supported in GitLab versions >= 16.4.
    authorEmailRegex String
    All commit author emails must match this regex, e.g. @my-company.com$.
    branchNameRegex String
    All branch names must match this regex, e.g. (feature|hotfix)\/*.
    commitCommitterCheck Boolean
    Only commits pushed using verified emails are allowed. Note This attribute is only supported in GitLab versions >= 16.4.
    commitMessageNegativeRegex String
    No commit message is allowed to match this regex, for example ssh\:\/\/.
    commitMessageRegex String
    All commit messages must match this regex, e.g. Fixed \d+\..*.
    denyDeleteTag Boolean
    Deny deleting a tag.
    fileNameRegex String
    Filenames matching the regular expression provided in this attribute are not allowed, for example, (jar|exe)$.
    maxFileSize Number
    Maximum file size (MB) allowed.
    memberCheck Boolean
    Allows only GitLab users to author commits.
    preventSecrets Boolean
    GitLab will reject any files that are likely to contain secrets.
    rejectUnsignedCommits Boolean
    Only commits signed through GPG are allowed. Note This attribute is only supported in GitLab versions >= 16.4.

    Import

    $ pulumi import gitlab:index/group:Group You can import a group state using `<resource> <id>`. The
    

    id can be whatever the [details of a group][details_of_a_group] api takes for

    its :id value, so for example:

    $ pulumi import gitlab:index/group:Group example example
    

    Package Details

    Repository
    GitLab pulumi/pulumi-gitlab
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the gitlab Terraform Provider.
    gitlab logo
    GitLab v6.10.0 published on Monday, Mar 25, 2024 by Pulumi