-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
52 lines (44 loc) · 1.3 KB
/
variables.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
variable "github_owner" {
type = string
description = "Github owner for running actions"
}
variable "github_token" {
type = string
description = "Github token for running actions"
sensitive = true
}
variable "github_org" {
type = string
description = "Github origanization to search for repos in"
default = ""
}
variable "topics" {
type = list(string)
description = "List of topics used to select repos"
default = ["terraformed"]
}
variable "environments" {
type = list(string)
description = "List of environments to set up for selected repos"
default = ["Production"]
}
variable "user_reviewers" {
type = list(string)
description = "List of usernames to add as reviewers for given environments"
default = []
}
variable "team_reviewers" {
type = list(string)
description = "List of team slugs to add as reviewers for given environments"
default = []
}
variable "protection_patterns" {
type = list(string)
description = "List of name patterns using fnmatch sytanx to apply branch protection rules to"
default = ["{main,master}"]
}
variable "pull_request_review_count" {
type = number
description = "Number of approvals needed before allowing a PR to be merged"
default = 2
}