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_membership.md
+1
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,7 @@ data "gitlab_group_membership" "example" {
35
35
-`access_level` (String) Only return members with the desired access level. Acceptable values are: `guest`, `reporter`, `developer`, `maintainer`, `owner`.
36
36
-`full_path` (String) The full path of the group.
37
37
-`group_id` (Number) The ID of the group.
38
+
-`inherited` (Boolean) Return all project members including members through ancestor groups.
Copy file name to clipboardExpand all lines: docs/data-sources/projects.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,7 @@ data "gitlab_projects" "projects" {
52
52
-`max_queryable_pages` (Number) The maximum number of project results pages that may be queried. Prevents overloading your Gitlab instance in case of a misconfiguration.
53
53
-`membership` (Boolean) Limit by projects that the current user is a member of.
54
54
-`min_access_level` (Number) Limit to projects where current user has at least this access level, refer to the [official documentation](https://docs.gitlab.com/ee/api/members.html) for values. Cannot be used with `group_id`.
55
-
-`order_by` (String) Return projects ordered by`id`, `name`, `path`, `created_at`, `updated_at`, or `last_activity_at` fields. Default is `created_at`.
55
+
-`order_by` (String) Return projects ordered ordered by:`id`, `name`, `path`, `created_at`, `updated_at`, `last_activity_at`, `similarity`, `repository_size`, `storage_size`, `packages_size`, `wiki_size`. Some values or only available in certain circumstances. See [upstream docs](https://docs.gitlab.com/ee/api/projects.html#list-all-projects) for details.
56
56
-`owned` (Boolean) Limit by projects owned by the current user.
57
57
-`page` (Number) The first page to begin the query on.
58
58
-`per_page` (Number) The number of results to return per page.
-`description` (String) The description of the group.
51
51
-`emails_disabled` (Boolean) Defaults to false. Disable email notifications.
52
52
-`extra_shared_runners_minutes_limit` (Number) Can be set by administrators only. Additional CI/CD minutes for this group.
53
+
-`ip_restriction_ranges` (List of 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.
53
54
-`lfs_enabled` (Boolean) Defaults to true. Enable/disable Large File Storage (LFS) for the projects in this group.
54
55
-`membership_lock` (Boolean) Users cannot be added to projects in this group.
55
56
-`mentions_disabled` (Boolean) Defaults to false. Disable the capability of a group from getting mentioned.
-`forked_from_project_id` (Number) The id of the project to fork. During create the project is forked and during an update the fork relation is changed.
105
121
-`forking_access_level` (String) Set the forking access level. Valid values are `disabled`, `private`, `enabled`.
106
122
-`group_with_project_templates_id` (Number) For group-level custom templates, specifies ID of group from which all the custom project templates are sourced. Leave empty for instance-level templates. Requires use_custom_template to be true (enterprise edition).
107
-
-`import_url` (String) Git URL to a repository to be imported.
123
+
-`import_url` (String) Git URL to a repository to be imported. Together with `mirror = true` it will setup a Pull Mirror. This can also be used together with `forked_from_project_id` to setup a Pull Mirror for a fork. The fork takes precedence over the import. This field cannot be imported via `terraform import`.
108
124
-`initialize_with_readme` (Boolean) Create main branch with first commit containing a README.md file.
109
125
-`issues_access_level` (String) Set the issues access level. Valid values are `disabled`, `private`, `enabled`.
110
126
-`issues_enabled` (Boolean) Enable issue tracking for the project.
-`disable_importing_default_any_approver_rule_on_create` (Boolean) When this flag is set, the default `any_approver` rule will not be imported if present.
81
94
-`group_ids` (Set of Number) A list of group IDs whose members can approve of the merge request.
82
95
-`protected_branch_ids` (Set of Number) A list of protected branch IDs (not branch names) for which the rule applies.
83
96
-`rule_type` (String) String, defaults to 'regular'. The type of rule. `any_approver` is a pre-configured default rule with `approvals_required` at `0`. Valid values are `regular`, `any_approver`.
-`deploy_access_levels` (Block List, Min: 1) Array of access levels allowed to deploy, with each described by a hash. (see [below for nested schema](#nestedblock--deploy_access_levels))
93
92
-`environment` (String) The name of the environment.
94
93
-`project` (String) The ID or full path of the project which the protected environment is created against.
95
94
96
95
### Optional
97
96
97
+
-`deploy_access_levels` (Block Set) Array of access levels allowed to deploy, with each described by a hash. (see [below for nested schema](#nestedblock--deploy_access_levels))
98
98
-`required_approval_count` (Number) The number of approvals required to deploy to this environment.
99
99
100
100
### Read-Only
101
101
102
-
-`id` (String) The ID of this resource.
102
+
-`id` (String) The ID of this Terraform resource. In the format of `<project>:<environment-name>`.
0 commit comments