|
| 1 | +--- |
| 2 | +# generated by https://github.com/hashicorp/terraform-plugin-docs |
| 3 | +page_title: "gitlab_group_epic_board Resource - terraform-provider-gitlab" |
| 4 | +subcategory: "" |
| 5 | +description: |- |
| 6 | + The gitlab_group_epic_board resource allows to manage the lifecycle of a epic board in a group. |
| 7 | + ~> Multiple epic boards on one group requires a GitLab Premium or above License. |
| 8 | + Upstream API: GitLab REST API docs https://docs.gitlab.com/ee/api/group_boards.html |
| 9 | +--- |
| 10 | + |
| 11 | +# gitlab_group_epic_board (Resource) |
| 12 | + |
| 13 | +The `gitlab_group_epic_board` resource allows to manage the lifecycle of a epic board in a group. |
| 14 | + |
| 15 | +~> Multiple epic boards on one group requires a GitLab Premium or above License. |
| 16 | + |
| 17 | +**Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/group_boards.html) |
| 18 | + |
| 19 | +## Example Usage |
| 20 | + |
| 21 | +```terraform |
| 22 | +resource "gitlab_group" "example" { |
| 23 | + name = "test_group" |
| 24 | + path = "test_group" |
| 25 | + description = "An example group" |
| 26 | +} |
| 27 | +
|
| 28 | +resource "gitlab_group_label" "label_1" { |
| 29 | + group = gitlab_group.example.id |
| 30 | + color = "#FF0000" |
| 31 | + name = "red-label" |
| 32 | +} |
| 33 | +
|
| 34 | +resource "gitlab_group_label" "label_3" { |
| 35 | + group = gitlab_group.example.id |
| 36 | + name = "label-3" |
| 37 | + color = "#003000" |
| 38 | +} |
| 39 | +
|
| 40 | +resource "gitlab_group_epic_board" "epic_board" { |
| 41 | + name = "epic board 6" |
| 42 | + group = gitlab_group.example.path |
| 43 | + lists { |
| 44 | + label_id = gitlab_group_label.label_1.label_id |
| 45 | + } |
| 46 | +} |
| 47 | +``` |
| 48 | + |
| 49 | +<!-- schema generated by tfplugindocs --> |
| 50 | +## Schema |
| 51 | + |
| 52 | +### Required |
| 53 | + |
| 54 | +- `group` (String) The ID or URL-encoded path of the group owned by the authenticated user. |
| 55 | +- `name` (String) The name of the board. |
| 56 | + |
| 57 | +### Optional |
| 58 | + |
| 59 | +- `lists` (Block Set) The list of epic board lists. (see [below for nested schema](#nestedblock--lists)) |
| 60 | + |
| 61 | +### Read-Only |
| 62 | + |
| 63 | +- `id` (String) The ID of this Terraform resource. In the format of `<group-id>:<epic-board-id>`. |
| 64 | + |
| 65 | +<a id="nestedblock--lists"></a> |
| 66 | +### Nested Schema for `lists` |
| 67 | + |
| 68 | +Optional: |
| 69 | + |
| 70 | +- `label_id` (Number) The ID of the label the list should be scoped to. |
| 71 | + |
| 72 | +Read-Only: |
| 73 | + |
| 74 | +- `id` (Number) The ID of the list. |
| 75 | +- `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. |
| 76 | + |
| 77 | +## Import |
| 78 | + |
| 79 | +Import is supported using the following syntax: |
| 80 | + |
| 81 | +```shell |
| 82 | +# You can import this resource with an id made up of `{group-id}:{epic-board-id}`, e.g. |
| 83 | +terraform import gitlab_group_epic_board.agile 70:156 |
| 84 | +``` |
0 commit comments