The gitlab_group_epic_board
resource allows to manage the lifecycle of a epic board in a group.
Upstream API: GitLab REST API docs
resource "gitlab_group" "example" {
name = "test_group"
path = "test_group"
description = "An example group"
}
resource "gitlab_group_label" "label_1" {
group = gitlab_group.example.id
color = "#FF0000"
name = "red-label"
}
resource "gitlab_group_label" "label_3" {
group = gitlab_group.example.id
name = "label-3"
color = "#003000"
}
resource "gitlab_group_epic_board" "epic_board" {
name = "epic board 6"
group = gitlab_group.example.path
lists {
label_id = gitlab_group_label.label_1.label_id
}
}
group
(String) The ID or URL-encoded path of the group owned by the authenticated user.name
(String) The name of the board.lists
(Block Set) The list of epic board lists. (see below for nested schema)id
(String) The ID of this Terraform resource. In the format of <group-id>:<epic-board-id>
.lists
Optional:
label_id
(Number) The ID of the label the list should be scoped to.Read-Only:
id
(Number) The ID of the list.position
(Number) The position of the list within the board. The position for the list is sed on the its position in the lists
array.Import is supported using the following syntax:
# You can import this resource with an id made up of `{group-id}:{epic-board-id}`, e.g.
terraform import gitlab_group_epic_board.agile 70:156