-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvars.github.tf
124 lines (116 loc) · 3 KB
/
vars.github.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
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
113
114
115
116
117
118
119
120
121
122
123
124
variable "github_token" {
description = "GitHub token"
type = string
}
variable "github_pages_ip_addresses" {
description = "IP Addresses for GitHub Pages"
type = list(string)
default = [
"185.199.108.153",
"185.199.109.153",
"185.199.110.153",
"185.199.111.153"
]
}
variable "github_organisation" {
description = "GitHub organisation"
type = string
default = "fomantic"
}
variable "github_teams" {
description = "GitHub organisation teams"
type = map(map(string))
default = {
admins = {
name = "Admins"
description = "Organisation administrators"
privacy = "closed"
}
bots = {
name = "Bots"
description = "Organisation bots"
privacy = "secret"
},
helpers = {
name = "Helpers"
description = "Individuals who donate time to help triage issues and provide support"
privacy = "closed"
},
maintainers = {
name = "Maintainers"
description = "Individuals who help triage issues, provide support and contribute code regularly to help maintain the project"
privacy = "closed"
}
}
}
variable "github_team_repository_access" {
description = "GitHub organisation team repository access"
type = map(map(string))
default = {
admins = {
Fomantic-UI = "admin"
Fomantic-UI-Docs = "admin"
Fomantic-UI-CSS = "admin"
Fomantic-UI-LESS = "admin"
Fomantic-UI-SASS = "admin"
create-fomantic-icons = "admin"
branding = "admin"
infrastructure = "push"
rfcs = "admin"
}
bots = {
Fomantic-UI = "push"
Fomantic-UI-Docs = "push"
}
helpers = {
Fomantic-UI = "pull"
Fomantic-UI-Docs = "pull"
}
maintainers = {
Fomantic-UI = "push"
Fomantic-UI-Docs = "push"
infrastructure = "push"
}
}
}
variable "github_members" {
description = "GitHub organisation members"
type = map(string)
default = {
hammy2899 = "admin" // organisation owner
prudho = "member"
ColinFrick = "member"
lubber-de = "admin"
exoego = "member"
ko2in = "member"
// bots
fomanticbot = "member"
}
}
variable "github_member_teams" {
description = "GitHub organisation member teams"
type = map(map(string))
default = {
admins = {
hammy2899 = "maintainer"
prudho = "member"
ColinFrick = "member"
lubber-de = "member"
}
bots = {
fomanticbot = "member"
}
helpers = {
hammy2899 = "maintainer"
}
maintainers = {
hammy2899 = "maintainer"
exoego = "member"
ko2in = "member"
}
}
}
provider "github" {
token = var.github_token
organization = var.github_organisation
}