Skip to content

Commit 1f7481b

Browse files
committed
Create additional labels
1 parent 454287e commit 1f7481b

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

terraform/github/repositories.tf

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,22 @@ resource "github_issue_label" "community_files_label" {
5757
description = "Community files have been modified"
5858
}
5959

60+
resource "github_issue_label" "magnum_label" {
61+
for_each = toset(flatten(values(var.repositories)))
62+
repository = each.value
63+
name = "magnum"
64+
color = "6B0560"
65+
description = "All things OpenStack Magnum related"
66+
}
67+
68+
resource "github_issue_label" "monitoring_label" {
69+
for_each = toset(flatten(values(var.repositories)))
70+
repository = each.value
71+
name = "monitoring"
72+
color = "FBCA04"
73+
description = "All things related to observability & telemetry"
74+
}
75+
6076
data "github_repository" "repositories" {
6177
for_each = toset(flatten(values(var.repositories)))
6278
full_name = format("%s/%s", var.owner, each.value)

0 commit comments

Comments
 (0)