» gitlab_group_label

This resource allows you to create and manage labels for your GitLab groups. For further information on labels, consult the gitlab documentation.

» Example Usage

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

» Argument Reference

The following arguments are supported:

  • group - (Required) The name or id of the group to add the label to.

  • name - (Required) The name of the label.

  • color - (Required) The color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the CSS color names.

  • description - (Optional) The description of the label.

» Attributes Reference

The resource exports the following attributes:

  • id - The unique id assigned to the label by the GitLab server (the name of the label).