gitlab_project_share_group (Resource)

The gitlab_project_share_group resource allows to manage the lifecycle of project shared with a group.

Upstream API: GitLab REST API docs

Example Usage

resource "gitlab_project_share_group" "test" {
  project      = "12345"
  group_id     = 1337
  group_access = "guest"
}

Schema

Required

Optional

Read-Only

Import

Import is supported using the following syntax:

# GitLab project group shares can be imported using an id made up of `projectid:groupid`, e.g.
terraform import gitlab_project_share_group.test 12345:1337