-
Notifications
You must be signed in to change notification settings - Fork 13
/
quarkus-zeebe.tf
35 lines (31 loc) · 1.11 KB
/
quarkus-zeebe.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
# Create repository
resource "github_repository" "quarkus_zeebe" {
name = "quarkus-zeebe"
description = "Camunda Zeebe Quarkus extension"
homepage_url = "https://camunda.com/de/products/cloud/"
delete_branch_on_merge = true
has_issues = true
vulnerability_alerts = true
topics = ["quarkus-extension"]
}
# Create team
resource "github_team" "quarkus_zeebe" {
name = "quarkiverse-zeebe"
description = "Quarkiverse team for the Camunda Zeebe Quarkus extension"
create_default_maintainer = false
privacy = "closed"
parent_team_id = data.github_team.quarkiverse_members.id
}
# Add team to repository
resource "github_team_repository" "quarkus_zeebe" {
team_id = github_team.quarkus_zeebe.id
repository = github_repository.quarkus_zeebe.name
permission = "maintain"
}
# Add users to the team
resource "github_team_membership" "quarkus_zeebe" {
for_each = { for tm in ["andrejpetras"] : tm => tm }
team_id = github_team.quarkus_zeebe.id
username = each.value
role = "maintainer"
}