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
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,18 @@
1
1
# gitlab\_group\_membership
2
2
3
-
Provides details about a list of group members in the gitlab provider. The results include id, username, name and more about the requested members.
3
+
Provide details about a list of group members in the gitlab provider. The results include id, username, name and more about the requested members.
4
4
5
5
## Example Usage
6
6
7
-
**By group's ID**
7
+
### By group's ID
8
8
9
9
```hcl
10
10
data "gitlab_group_membership" "example" {
11
11
group_id = 123
12
12
}
13
13
```
14
14
15
-
**By group's full path**
15
+
### By group's full path
16
16
17
17
```hcl
18
18
data "gitlab_group_membership" "example" {
@@ -28,9 +28,9 @@ The following arguments are supported:
28
28
29
29
*`full_path` - (Optional) The full path of the group.
30
30
31
-
*`access_level` - (Optional) Only return members with the desidered access level. Acceptable values are: `guest`, `reporter`, `developer`, `maintainer`, `owner`.
31
+
*`access_level` - (Optional) Only return members with the desired access level. Acceptable values are: `guest`, `reporter`, `developer`, `maintainer`, `owner`.
32
32
33
-
**Note**: exactly one of group_id or full_path must be provided.
33
+
> **Note**: exactly one of group_id or full_path must be provided.
34
34
35
35
## Attributes Reference
36
36
@@ -45,4 +45,3 @@ The following attributes are exported:
45
45
*`web_url` - User's website URL.
46
46
*`access_level` - One of five levels of access to the group.
47
47
*`expires_at` - Expiration date for the group membership.
Copy file name to clipboardExpand all lines: docs/data-sources/projects.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
# gitlab\_projects
2
2
3
-
Provides details about a list of projects in the Gitlab provider. Listing all projects and group projects with [project filtering](https://docs.gitlab.com/ee/api/projects.html#list-user-projects) or [group project filtering](https://docs.gitlab.com/ee/api/groups.html#list-a-groups-projects) is supported.
3
+
Provide details about a list of projects in the Gitlab provider. Listing all projects and group projects with [project filtering](https://docs.gitlab.com/ee/api/projects.html#list-user-projects) or [group project filtering](https://docs.gitlab.com/ee/api/groups.html#list-a-groups-projects) is supported.
4
4
5
-
~> NOTE: This data source supports all available filters exposed by the `xanzy/go-gitlab` package, which might not expose all available filters exposed by the Gitlab APIs.
5
+
> **NOTE**: This data source supports all available filters exposed by the `xanzy/go-gitlab` package, which might not expose all available filters exposed by the Gitlab APIs.
6
6
7
7
## Example Usage
8
8
@@ -74,7 +74,6 @@ The following arguments are supported:
74
74
75
75
*`with_programming_language` - (Optional) Limit by projects which use the given programming language. Cannot be used with `group_id`.
76
76
77
-
78
77
## Attributes Reference
79
78
80
79
The following attributes are exported:
@@ -193,7 +192,7 @@ Projects items have the following fields:
193
192
194
193
The `owner` attribute exposes the following sub-attributes:
195
194
196
-
~> NOTE: These sub-attributes are only populated if the Gitlab token used has an administrator scope.
195
+
> **NOTE**: These sub-attributes are only populated if the Gitlab token used has an administrator scope.
Copy file name to clipboardExpand all lines: docs/data-sources/users.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
# gitlab\_users
2
2
3
-
Provides details about a list of users in the gitlab provider. The results include id, username, email, name and more about the requested users. Users can also be sorted and filtered using several options.
3
+
Provide details about a list of users in the gitlab provider. The results include id, username, email, name and more about the requested users. Users can also be sorted and filtered using several options.
4
4
5
-
**NOTE**: Some of the available options require administrator privileges. Please visit [Gitlab API documentation][users_for_admins] for more information.
5
+
**NOTE**: Some available options require administrator privileges. Please visit [Gitlab API documentation][users_for_admins] for more information.
6
6
7
7
## Example Usage
8
8
@@ -12,6 +12,10 @@ data "gitlab_users" "example" {
12
12
order_by = "name"
13
13
created_before = "2019-01-01"
14
14
}
15
+
16
+
data "gitlab_users" "example-two" {
17
+
search = "username"
18
+
}
15
19
```
16
20
17
21
## Argument Reference
@@ -36,7 +40,6 @@ The following arguments are supported:
36
40
37
41
*`created_after` - (Optional) Search for users created after a specific date. (Requires administrator privileges)
38
42
39
-
40
43
## Attributes Reference
41
44
42
45
The following attributes are exported:
@@ -56,19 +59,18 @@ The following attributes are exported:
56
59
*`extern_uid` - The external UID of the user.
57
60
*`provider` - The UID provider of the user.
58
61
*`organization` - The organization of the user.
59
-
*`two_factor_enabled` - Whether user's twofactor auth is enabled.
62
+
*`two_factor_enabled` - Whether user's two-factor auth is enabled.
60
63
*`note` - The note associated to the user.
61
64
*`avatar_url` - The avatar URL of the user.
62
65
*`bio` - The bio of the user.
63
66
*`location` - The location of the user.
64
67
*`skype` - Skype username of the user.
65
-
*`linkedin` - Linkedin profile of the user.
68
+
*`linkedin` - LinkedIn profile of the user.
66
69
*`twitter` - Twitter username of the user.
67
70
*`website_url` - User's website URL.
68
71
*`theme_id` - User's theme ID.
69
72
*`color_scheme_id` - User's color scheme ID.
70
73
*`last_sign_in_at` - Last user's sign-in date.
71
74
*`current_sign_in_at` - Current user's sign-in date.
0 commit comments