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
This commit is contained in:
parent
c0503a9c26
commit
f39c5b7c9b
|
@ -3,14 +3,13 @@ layout: "gitlab"
|
||||||
page_title: "Provider: GitLab"
|
page_title: "Provider: GitLab"
|
||||||
sidebar_current: "docs-gitlab-index"
|
sidebar_current: "docs-gitlab-index"
|
||||||
description: |-
|
description: |-
|
||||||
The GitLab provider is used to interact with GitLab organization resources.
|
The GitLab provider is used to interact with GitLab group or user resources.
|
||||||
---
|
---
|
||||||
|
|
||||||
# GitLab Provider
|
# GitLab Provider
|
||||||
|
|
||||||
The GitLab provider is used to interact with GitLab organization resources.
|
The GitLab provider is used to interact with GitLab group or user resources.
|
||||||
|
|
||||||
The provider allows you to manage your GitLab organization's members and teams easily.
|
|
||||||
It needs to be configured with the proper credentials before it can be used.
|
It needs to be configured with the proper credentials before it can be used.
|
||||||
|
|
||||||
Use the navigation to the left to read about the available resources.
|
Use the navigation to the left to read about the available resources.
|
||||||
|
|
|
@ -3,13 +3,13 @@ layout: "gitlab"
|
||||||
page_title: "GitLab: gitlab_project"
|
page_title: "GitLab: gitlab_project"
|
||||||
sidebar_current: "docs-gitlab-resource-project-x"
|
sidebar_current: "docs-gitlab-resource-project-x"
|
||||||
description: |-
|
description: |-
|
||||||
Creates and manages projects within Gitlab
|
Creates and manages projects within GitLab groups or within your user
|
||||||
---
|
---
|
||||||
|
|
||||||
# gitlab\_project
|
# gitlab\_project
|
||||||
|
|
||||||
This resource allows you to create and manage projects within your
|
This resource allows you to create and manage projects within your
|
||||||
GitLab organization.
|
GitLab group or within your user.
|
||||||
|
|
||||||
|
|
||||||
## Example Usage
|
## Example Usage
|
||||||
|
@ -29,11 +29,11 @@ The following arguments are supported:
|
||||||
|
|
||||||
* `name` - (Required) The name of the project.
|
* `name` - (Required) The name of the project.
|
||||||
|
|
||||||
* `description` - (Optional) A description of the project.
|
* `namespace_id` - (Optional) The namespace (group or user) of the project. Defaults to your user.
|
||||||
|
|
||||||
* `namespace_id` - (Optional) The namespace to create this project in.
|
|
||||||
See [`gitlab_group`](group.html) for an example.
|
See [`gitlab_group`](group.html) for an example.
|
||||||
|
|
||||||
|
* `description` - (Optional) A description of the project.
|
||||||
|
|
||||||
* `default_branch` - (Optional) The default branch for the project.
|
* `default_branch` - (Optional) The default branch for the project.
|
||||||
|
|
||||||
* `issues_enabled` - (Optional) Enable issue tracking for the project.
|
* `issues_enabled` - (Optional) Enable issue tracking for the project.
|
||||||
|
|
Loading…
Reference in New Issue