Skip to content

Commit 2b6602f

Browse files
lauraseidlertimofurrer
authored andcommitted
Clarify documentation on gitlab_group_share_group resource
The documentation for the `group_id` and `group_share_id` currently suggests that this resource works the other way round than it actually does.
1 parent 76090c8 commit 2b6602f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/resources/group_share_group.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ resource "gitlab_group_share_group" "test" {
3030
### Required
3131

3232
- `group_access` (String) The access level to grant the group. Valid values are: `no one`, `minimal`, `guest`, `reporter`, `developer`, `maintainer`, `owner`, `master`
33-
- `group_id` (String) The id of the main group.
34-
- `share_group_id` (Number) The id of an additional group which will be shared with the main group.
33+
- `group_id` (String) The id of the main group to be shared.
34+
- `share_group_id` (Number) The id of the additional group with which the main group will be shared.
3535

3636
### Optional
3737

internal/provider/resource_gitlab_group_share_group.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ var _ = registerResource("gitlab_group_share_group", func() *schema.Resource {
2828
},
2929
Schema: map[string]*schema.Schema{
3030
"group_id": {
31-
Description: "The id of the main group.",
31+
Description: "The id of the main group to be shared.",
3232
Type: schema.TypeString,
3333
ForceNew: true,
3434
Required: true,
3535
},
3636
"share_group_id": {
37-
Description: "The id of an additional group which will be shared with the main group.",
37+
Description: "The id of the additional group with which the main group will be shared.",
3838
Type: schema.TypeInt,
3939
ForceNew: true,
4040
Required: true,

0 commit comments

Comments
 (0)