Skip to content

Commit 39422d7

Browse files
committed
resource/gitlab_project_share_group: Improve documentation and reference upstream docs
1 parent 9924800 commit 39422d7

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

docs/resources/project_share_group.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,15 @@
33
page_title: "gitlab_project_share_group Resource - terraform-provider-gitlab"
44
subcategory: ""
55
description: |-
6-
This resource allows you to share a project with a group
6+
The gitlab_project_share_group resource allows to manage the lifecycle of project shared with a group.
7+
Upstream API: GitLab REST API docs https://docs.gitlab.com/ee/api/projects.html#share-project-with-group
78
---
89

910
# gitlab_project_share_group (Resource)
1011

11-
This resource allows you to share a project with a group
12+
The `gitlab_project_share_group` resource allows to manage the lifecycle of project shared with a group.
13+
14+
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/projects.html#share-project-with-group)
1215

1316
## Example Usage
1417

internal/provider/resource_gitlab_project_share_group.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ import (
1414

1515
var _ = registerResource("gitlab_project_share_group", func() *schema.Resource {
1616
return &schema.Resource{
17-
Description: "This resource allows you to share a project with a group",
17+
Description: `The ` + "`" + `gitlab_project_share_group` + "`" + ` resource allows to manage the lifecycle of project shared with a group.
18+
19+
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/projects.html#share-project-with-group)`,
1820

1921
CreateContext: resourceGitlabProjectShareGroupCreate,
2022
ReadContext: resourceGitlabProjectShareGroupRead,

0 commit comments

Comments
 (0)