Skip to content

Commit acdaaa2

Browse files
grafjostack72
authored andcommitted
provider/gitlab: Improve gitlab documentation (#14827)
* fix gitlab naming seems like some github stuff was not renamed * gitlab is using group or user instead of organisations * add namespace_id to gitlab_project documentation * it's not possible to manage group members
1 parent a535441 commit acdaaa2

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

index.html.markdown

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@ layout: "gitlab"
33
page_title: "Provider: GitLab"
44
sidebar_current: "docs-gitlab-index"
55
description: |-
6-
The GitLab provider is used to interact with GitLab organization resources.
6+
The GitLab provider is used to interact with GitLab group or user resources.
77
---
88

99
# GitLab Provider
1010

11-
The GitLab provider is used to interact with GitLab organization resources.
11+
The GitLab provider is used to interact with GitLab group or user resources.
1212

13-
The provider allows you to manage your GitLab organization's members and teams easily.
1413
It needs to be configured with the proper credentials before it can be used.
1514

1615
Use the navigation to the left to read about the available resources.

r/project.html.markdown

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ layout: "gitlab"
33
page_title: "GitLab: gitlab_project"
44
sidebar_current: "docs-gitlab-resource-project-x"
55
description: |-
6-
Creates and manages projects within Gitlab
6+
Creates and manages projects within GitLab groups or within your user
77
---
88

99
# gitlab\_project
1010

1111
This resource allows you to create and manage projects within your
12-
GitLab organization.
12+
GitLab group or within your user.
1313

1414

1515
## Example Usage
@@ -29,11 +29,11 @@ The following arguments are supported:
2929

3030
* `name` - (Required) The name of the project.
3131

32-
* `description` - (Optional) A description of the project.
33-
34-
* `namespace_id` - (Optional) The namespace to create this project in.
32+
* `namespace_id` - (Optional) The namespace (group or user) of the project. Defaults to your user.
3533
See [`gitlab_group`](group.html) for an example.
3634

35+
* `description` - (Optional) A description of the project.
36+
3737
* `default_branch` - (Optional) The default branch for the project.
3838

3939
* `issues_enabled` - (Optional) Enable issue tracking for the project.

0 commit comments

Comments
 (0)