gitlab_group_label (Resource)

The gitlab_group_label resource allows to manage the lifecycle of labels within a group.

Upstream API: GitLab REST API docs

Example Usage

resource "gitlab_group_label" "fixme" {
  group       = "example"
  name        = "fixme"
  description = "issue with failing tests"
  color       = "#ffcc00"
}

Schema

Required

Optional

Read-Only

Import

Import is supported using the following syntax:

# Gitlab group labels can be imported using an id made up of `{group_id}:{group_label_id}`, e.g.
terraform import gitlab_group_label.example 12345:fixme