Skip to content

Commit e1fff6c

Browse files
authored
Merge pull request #973 from timofurrer/doc/647
resource/gitlab_group: document groups without parent group limitation on SaaS
2 parents c663d29 + f37b35a commit e1fff6c

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

docs/resources/group.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@
33
page_title: "gitlab_group Resource - terraform-provider-gitlab"
44
subcategory: ""
55
description: |-
6-
This resource allows you to create and manage GitLab groups.
7-
Note your provider will need to be configured with admin-level access for this resource to work.
8-
Upstream API: GitLab Groups API https://docs.gitlab.com/ee/api/groups.html
6+
The gitlab_group resource allows to manage the lifecycle of a group.
7+
-> On GitLab SaaS, you must use the GitLab UI to create groups without a parent group. You cannot use this provider nor the API to do this.
8+
Upstream API: GitLab REST API docs https://docs.gitlab.com/ee/api/groups.html
99
---
1010

1111
# gitlab_group (Resource)
1212

13-
This resource allows you to create and manage GitLab groups.
13+
The `gitlab_group` resource allows to manage the lifecycle of a group.
1414

15-
Note your provider will need to be configured with admin-level access for this resource to work.
15+
-> On GitLab SaaS, you must use the GitLab UI to create groups without a parent group. You cannot use this provider nor the API to do this.
1616

17-
**Upstream API**: [GitLab Groups API](https://docs.gitlab.com/ee/api/groups.html)
17+
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/groups.html)
1818

1919
## Example Usage
2020

internal/provider/resource_gitlab_group.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@ import (
1717

1818
var _ = registerResource("gitlab_group", func() *schema.Resource {
1919
return &schema.Resource{
20-
Description: "This resource allows you to create and manage GitLab groups.\n\n" +
21-
"Note your provider will need to be configured with admin-level access for this resource to work.\n\n" +
22-
"**Upstream API**: [GitLab Groups API](https://docs.gitlab.com/ee/api/groups.html)",
20+
Description: `The ` + "`gitlab_group`" + ` resource allows to manage the lifecycle of a group.
21+
22+
-> On GitLab SaaS, you must use the GitLab UI to create groups without a parent group. You cannot use this provider nor the API to do this.
23+
24+
**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/groups.html)`,
2325

2426
CreateContext: resourceGitlabGroupCreate,
2527
ReadContext: resourceGitlabGroupRead,

0 commit comments

Comments
 (0)