forked from ictsc/ictsc-github-member
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathteam-admin.tf
More file actions
112 lines (93 loc) · 2.95 KB
/
team-admin.tf
File metadata and controls
112 lines (93 loc) · 2.95 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
// Team
resource "github_team" "admin" {
name = "Admins"
description = "ictsc organization admins"
privacy = "closed"
}
// Team Repository Resource
resource "github_team_repository" "admin-ictsc-problems" {
team_id = "${github_team.admin.id}"
repository = "ictsc-problems"
permission = "admin"
}
resource "github_team_repository" "admin-ictsc-network" {
team_id = "${github_team.admin.id}"
repository = "ictsc-network"
permission = "admin"
}
resource "github_team_repository" "admin-ictsc-playbooks" {
team_id = "${github_team.admin.id}"
repository = "ictsc-playbooks"
permission = "admin"
}
resource "github_team_repository" "admin-ictsc-score-server" {
team_id = "${github_team.admin.id}"
repository = "ictsc-score-server"
permission = "admin"
}
resource "github_team_repository" "admin-kakisute-script" {
team_id = "${github_team.admin.id}"
repository = "kakisute-script"
permission = "admin"
}
resource "github_team_repository" "admin-network-config" {
team_id = "${github_team.admin.id}"
repository = "network-config"
permission = "admin"
}
resource "github_team_repository" "admin-ictsc-k8s-cluster" {
team_id = "${github_team.admin.id}"
repository = "ictsc-k8s-cluster"
permission = "admin"
}
// Team Members
resource "github_team_membership" "admin-whywaita" {
team_id = "${github_team.admin.id}"
username = "${github_membership.whywaita.username}"
role = "member"
}
resource "github_team_membership" "admin-tar-xzvff" {
team_id = "${github_team.admin.id}"
username = "${github_membership.tar-xzvff.username}"
role = "member"
}
resource "github_team_membership" "admin-h-otter" {
team_id = "${github_team.admin.id}"
username = "${github_membership.h-otter.username}"
role = "member"
}
resource "github_team_membership" "admin-sharknasuhorse" {
team_id = "${github_team.admin.id}"
username = "${github_membership.sharknasuhorse.username}"
role = "member"
}
resource "github_team_membership" "admin-uplus" {
team_id = "${github_team.admin.id}"
username = "${github_membership.uplus.username}"
role = "member"
}
resource "github_team_membership" "admin-yukamoja" {
team_id = "${github_team.admin.id}"
username = "${github_membership.yukamoja.username}"
role = "member"
}
resource "github_team_membership" "admin-takemhaya" {
team_id = "${github_team.admin.id}"
username = "${github_membership.takehaya.username}"
role = "member"
}
resource "github_team_membership" "admin-zeroalphat" {
team_id = "${github_team.admin.id}"
username = "${github_membership.zeroalphat.username}"
role = "member"
}
resource "github_team_membership" "admin-x86taka" {
team_id = "${github_team.admin.id}"
username = "${github_membership.x86taka.username}"
role = "member"
}
resource "github_team_membership" "admin-proelbtn" {
team_id = "${github_team.admin.id}"
username = "${github_membership.proelbtn.username}"
role = "member"
}