You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/data-sources/group.md
+3
Original file line number
Diff line number
Diff line change
@@ -39,15 +39,18 @@ data "gitlab_group" "foo" {
39
39
40
40
-`default_branch_protection` (Number) Whether developers and maintainers can push to the applicable default branch.
41
41
-`description` (String) The description of the group.
42
+
-`extra_shared_runners_minutes_limit` (Number) Can be set by administrators only. Additional CI/CD minutes for this group.
42
43
-`full_name` (String) The full name of the group.
43
44
-`id` (String) The ID of this resource.
44
45
-`lfs_enabled` (Boolean) Boolean, is LFS enabled for projects in this group.
46
+
-`membership_lock` (Boolean) Users cannot be added to projects in this group.
45
47
-`name` (String) The name of this group.
46
48
-`parent_id` (Number) Integer, ID of the parent group.
47
49
-`path` (String) The path of the group.
48
50
-`prevent_forking_outside_group` (Boolean) When enabled, users can not fork projects from this group to external namespaces.
49
51
-`request_access_enabled` (Boolean) Boolean, is request for access enabled to the group.
50
52
-`runners_token` (String, Sensitive) The group level registration token to use during runner setup.
53
+
-`shared_runners_minutes_limit` (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.
51
54
-`visibility_level` (String) Visibility level of the group. Possible values are `private`, `internal`, `public`.
-`group_owners_can_manage_default_branch_protection` (Boolean) Prevent overrides of default branch protection.
155
156
-`hashed_storage_enabled` (Boolean) Create new projects using hashed storage paths: Enable immutable, hash-based paths and repository names to store repositories on disk. This prevents repositories from having to be moved or renamed when the Project URL changes and may improve disk I/O performance. (Always enabled in GitLab versions 13.0 and later, configuration is scheduled for removal in 14.0).
156
157
-`help_page_hide_commercial_content` (Boolean) Hide marketing-related entries from help.
157
158
-`help_page_support_url` (String) Alternate support URL for help page and help dropdown.
Copy file name to clipboardExpand all lines: docs/resources/branch_protection.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ description: |-
6
6
The gitlab_branch_protection resource allows to manage the lifecycle of a protected branch of a repository.
7
7
~> Branch Protection Behavior for the default branch
8
8
Depending on the GitLab instance, group or project setting the default branch of a project is created automatically by GitLab behind the scenes.
9
-
Due to some https://github.com/gitlabhq/terraform-provider-gitlab/issues/792 limitations https://discuss.hashicorp.com/t/ignore-the-order-of-a-complex-typed-list/42242 in the Terraform Provider SDK and the GitLab API,
9
+
Due to some https://gitlab.com/gitlab-org/terraform-provider-gitlab/issues/792 limitations https://discuss.hashicorp.com/t/ignore-the-order-of-a-complex-typed-list/42242 in the Terraform Provider SDK and the GitLab API,
10
10
when creating a new project and trying to manage the branch protection setting for its default branch the gitlab_branch_protection resource will
11
11
automatically take ownership of the default branch without an explicit import by unprotecting and properly protecting it again.
12
12
Having multiple gitlab_branch_protection resources for the same project and default branch will result in them overriding each other - make sure to only have a single one.
@@ -21,7 +21,7 @@ The `gitlab_branch_protection` resource allows to manage the lifecycle of a prot
21
21
22
22
~> **Branch Protection Behavior for the default branch**
23
23
Depending on the GitLab instance, group or project setting the default branch of a project is created automatically by GitLab behind the scenes.
24
-
Due to [some](https://github.com/gitlabhq/terraform-provider-gitlab/issues/792)[limitations](https://discuss.hashicorp.com/t/ignore-the-order-of-a-complex-typed-list/42242) in the Terraform Provider SDK and the GitLab API,
24
+
Due to [some](https://gitlab.com/gitlab-org/terraform-provider-gitlab/issues/792)[limitations](https://discuss.hashicorp.com/t/ignore-the-order-of-a-complex-typed-list/42242) in the Terraform Provider SDK and the GitLab API,
25
25
when creating a new project and trying to manage the branch protection setting for its default branch the `gitlab_branch_protection` resource will
26
26
automatically take ownership of the default branch without an explicit import by unprotecting and properly protecting it again.
27
27
Having multiple `gitlab_branch_protection` resources for the same project and default branch will result in them overriding each other - make sure to only have a single one.
-`allowed_to_merge` (Block Set) Defines permissions for action. (see [below for nested schema](#nestedblock--allowed_to_merge))
94
94
-`allowed_to_push` (Block Set) Defines permissions for action. (see [below for nested schema](#nestedblock--allowed_to_push))
95
95
-`allowed_to_unprotect` (Block Set) Defines permissions for action. (see [below for nested schema](#nestedblock--allowed_to_unprotect))
96
-
-`code_owner_approval_required` (Boolean) Can be set to true to require code owner approval before merging.
96
+
-`code_owner_approval_required` (Boolean) Can be set to true to require code owner approval before merging. Only available own Premium and Ultimate instances.
-`default_branch_protection` (Number) Defaults to 2. See https://docs.gitlab.com/ee/api/groups.html#options-for-default_branch_protection
48
48
-`description` (String) The description of the group.
49
49
-`emails_disabled` (Boolean) Defaults to false. Disable email notifications.
50
+
-`extra_shared_runners_minutes_limit` (Number) Can be set by administrators only. Additional CI/CD minutes for this group.
50
51
-`lfs_enabled` (Boolean) Defaults to true. Enable/disable Large File Storage (LFS) for the projects in this group.
52
+
-`membership_lock` (Boolean) Users cannot be added to projects in this group.
51
53
-`mentions_disabled` (Boolean) Defaults to false. Disable the capability of a group from getting mentioned.
52
54
-`parent_id` (Number) Id of the parent group (creates a nested group).
53
55
-`prevent_forking_outside_group` (Boolean) Defaults to false. When enabled, users can not fork projects from this group to external namespaces.
54
56
-`project_creation_level` (String) Defaults to maintainer. Determine if developers can create projects in the group.
55
57
-`request_access_enabled` (Boolean) Defaults to false. Allow users to request member access.
56
58
-`require_two_factor_authentication` (Boolean) Defaults to false. Require all users in this group to setup Two-factor authentication.
57
59
-`share_with_group_lock` (Boolean) Defaults to false. Prevent sharing a project with another group within this group.
60
+
-`shared_runners_minutes_limit` (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.
58
61
-`subgroup_creation_level` (String) Defaults to owner. Allowed to create subgroups.
59
62
-`two_factor_grace_period` (Number) Defaults to 48. Time before Two-factor authentication is enforced (in hours).
60
63
-`visibility_level` (String) The group's visibility. Can be `private`, `internal`, or `public`.
0 commit comments