-
Notifications
You must be signed in to change notification settings - Fork 2
/
variables.tf
166 lines (138 loc) · 4.99 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
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
# ---------------------------------------------------------------------------------------------------------------------
# REQUIRED VARIABLES
# ---------------------------------------------------------------------------------------------------------------------
variable "name" {
type = string
description = "The name for the organization."
}
variable "billing_email" {
type = string
description = "The billing email address for the organization."
}
# ---------------------------------------------------------------------------------------------------------------------
# OPTIONAL VARIABLES
# ---------------------------------------------------------------------------------------------------------------------
variable "company" {
type = string
description = "The company name for the organization."
default = null
}
variable "blog" {
type = string
description = "The blog URL for the organization."
default = null
}
variable "email" {
type = string
description = "The email address for the organization."
default = null
}
variable "twitter_username" {
type = string
description = "The Twitter username for the organization."
default = null
}
variable "location" {
type = string
description = "The location for the organization."
default = null
}
variable "description" {
type = string
description = "The description for the organization."
default = null
}
variable "has_organization_projects" {
type = bool
description = "Whether or not organization projects are enabled for the organization."
default = false
}
variable "has_repository_projects" {
type = bool
description = "Whether or not repository projects are enabled for the organization."
default = false
}
variable "default_repository_permission" {
type = string
description = "The default permission for organization members to create new repositories. Can be one of read, write, admin, or none."
default = "none"
validation {
condition = contains(["read", "write", "admin", "none"], var.default_repository_permission)
error_message = "Default repository permission must be one of `read`, `write`, `admin`, or `none`."
}
}
variable "members_can_create_repositories" {
type = bool
description = "Whether or not organization members can create new repositories."
default = true
}
variable "members_can_create_public_repositories" {
type = bool
description = "Whether or not organization members can create new public repositories."
default = true
}
variable "members_can_create_private_repositories" {
type = bool
description = "Whether or not organization members can create new private repositories."
default = true
}
variable "members_can_create_internal_repositories" {
type = bool
description = "Whether or not organization members can create new internal repositories. For Enterprise Organizations only."
default = null
}
variable "members_can_create_pages" {
type = bool
description = "Whether or not organization members can create new pages."
default = true
}
variable "members_can_create_public_pages" {
type = bool
description = "Whether or not organization members can create new public pages."
default = true
}
variable "members_can_create_private_pages" {
type = bool
description = "Whether or not organization members can create new private pages."
default = true
}
variable "members_can_fork_private_repositories" {
type = bool
description = "Whether or not organization members can fork private repositories."
default = true
}
variable "web_commit_signoff_required" {
type = bool
description = "Whether or not commit signatures are required for commits to the organization."
default = true
}
variable "advanced_security_enabled_for_new_repositories" {
type = bool
description = "Whether or not advanced security is enabled for new repositories."
default = true
}
variable "dependabot_alerts_enabled_for_new_repositories" {
type = bool
description = "Whether or not dependabot alerts are enabled for new repositories."
default = true
}
variable "dependabot_security_updates_enabled_for_new_repositories" {
type = bool
description = "Whether or not dependabot security updates are enabled for new repositories."
default = true
}
variable "dependency_graph_enabled_for_new_repositories" {
type = bool
description = "Whether or not dependency graph is enabled for new repositories."
default = true
}
variable "secret_scanning_enabled_for_new_repositories" {
type = bool
description = "Whether or not secret scanning is enabled for new repositories."
default = true
}
variable "secret_scanning_push_protection_enabled_for_new_repositories" {
type = bool
description = "Whether or not secret scanning push protection is enabled for new repositories."
default = true
}