-
Notifications
You must be signed in to change notification settings - Fork 0
/
labels.tf
38 lines (27 loc) · 913 Bytes
/
labels.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
resource "github_issue_label" "category" {
name = "category/${each.key}"
description = each.value.description
color = each.value.color
repository = github_repository.domicile.name
for_each = local.category
}
resource "github_issue_label" "lifecycle" {
name = "lifecycle/${each.key}"
description = each.value.description
color = each.value.color
repository = github_repository.domicile.name
for_each = local.lifecycle
}
resource "github_issue_label" "type" {
name = "type/${each.key}"
description = each.value.description
color = each.value.color
repository = github_repository.domicile.name
for_each = local.type
}
resource "github_issue_label" "tracking" {
color = "f8f8f8"
name = "tracking"
description = "Adding this label adds the issue or PR to the project for tracking."
repository = github_repository.domicile.name
}