-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
280 lines (267 loc) · 5.6 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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
variable "buddy_token" {
type = string
}
# Buddy Variable
variable "domain" {
type = string
default = "CHANGEME"
}
variable "budvar_key" {
type = string
}
variable "budvar_value" {
type = string
}
variable "budvar_action_id" {
type = number
}
variable "budvar_description" {
type = string
}
variable "budvar_encryped" {
type = bool
}
variable "budvar_settable" {
type = bool
}
# Buddy Webhook
variable "webhook" {
type = bool
}
variable "events" {
type = list(any)
default = [
{
refs = ["CHANGEME"]
type = "CHANGEME"
}
]
}
# workspace
variable "new_workspace" {
}
variable "ws_name" {
type = string
}
variable "ws_encryption_salt" {
type = string
sensitive = true
}
# Project
variable "new_project" {
type = bool
}
variable "display_name" {
type = string
}
variable "custom_repo_pass" {
type = string
sensitive = true
}
variable "cust_repo_url" {
type = string
}
variable "cust_repo_user" {
type = string
}
variable "external_project_id" {
type = string
}
variable "git_lab_project_id" {
type = string
}
variable "integration_id" {
type = string
}
# integration
variable "integration_name" {
type = string
}
variable "integration_type" {
type = string
}
variable "scope" {
type = string
}
variable "access_key" {
type = string
sensitive = true
}
variable "secret_key" {
type = string
sensitive = true
}
variable "api_key" {
type = string
sensitive = true
}
variable "app_id" {
type = string
}
variable "cloudflare_email" {
type = string
}
variable "group_id" {
type = number
}
variable "integration_password" {
type = string
sensitive = true
}
variable "role_assumption" {
type = number
}
variable "integration_shop" {
type = string
}
variable "tenant_id" {
type = string
}
variable "integration_token" {
type = string
sensitive = true
}
variable "integration_username" {
type = string
}
# Pipeline
variable "pipeline_name" {
type = string
description = "The pipelines name."
}
variable "pipeline_react" {
type = string
description = "The pipeline's trigger mode. Allowed: CLICK, EVENT, SCHEDULE"
default = "EVENT"
}
variable "pipeline_project_name" {
type = string
description = "The project's name."
}
variable "pipeline_always_from_scratch" {
type = bool
description = "Defines whether or not to upload everything from scratch on every run."
}
variable "pipeline_auto_clear_cache" {
type = bool
description = "Defines whether or not to automatically clear cache before running the pipeline."
}
variable "pipeline_cron" {
type = string
description = "The pipeline's CRON expression. Required if the pipeline is set to on: SCHEDULE and neither start_date nor delay is specified."
}
variable "pipeline_delay" {
type = number
description = "The pipeline's runs interval (in minutes). Required if the pipeline is set to on: SCHEDULE and no cron is specified."
}
variable "pipeline_commit_status" {
type = bool
description = "Defines whether or not to omit sending commit statuses to GitHub or GitLab upon execution."
}
variable "event_refs" {
type = list(string)
}
variable "event_type" {
type = string
}
variable "pipeline_execution_msg_template" {
type = string
description = "The pipeline's run title."
default = "$BUDDY_EXECUTION_REVISION_SUBJECT"
}
variable "pipeline_env_warning_fail" {
type = bool
description = "Defines either or not run should fail if any warning occurs in prepare environment."
default = true
}
variable "pipeline_fetch_all_refs" {
type = bool
description = "Defines either or not fetch all refs from repository."
default = true
}
variable "pipeline_ignore_fail_status" {
type = bool
description = "If set to true the status of a given pipeline will be ignored on the projects' dashboard."
}
variable "pipeline_no_skip_most_recent" {
type = bool
description = "Defines whether or not to skip run to the most recent run."
}
variable "pipeline_paused" {
type = bool
description = "Is the pipeline's run paused. Restricted to on: SCHEDULE."
}
variable "pipeline_priority" {
type = string
description = "The pipeline's priority. Allowed: LOW, NORMAL, HIGH."
}
variable "pipeline_ref" {
type = list(string)
description = "The pipeline's list of refs. Set it if on: CLICK."
}
variable "pipeline_start_date" {
type = string
description = "The pipeline's start date. Required if the pipeline is set to on: SCHEDULE and no cron is specified. Format: 2016-11-18T12:38:16.000Z."
}
variable "pipeline_target_url" {
type = string
description = "The pipeline's website target URL."
}
variable "trig_condition" {
type = string
}
variable "trig_set_hours" {
type = list(number)
}
variable "trig_set_days" {
type = list(number)
}
variable "trig_zone_id" {
type = string
}
variable "trig_var_key" {
type = string
}
variable "trig_var_value" {
type = string
sensitive = true
}
variable "trig_path" {
type = string
default = ""
}
variable "trig_project_name" {
type = string
}
variable "trig_pipeline_name" {
type = string
}
variable "pipeline_worker" {
type = string
description = "The pipeline's worker name. ONLY for Buddy Enterprise."
}
# Required
variable "integration" {
type = bool
}
variable "project_required" {
type = bool
}
variable "base_url" {
type = string
default = "CHANGEME"
}
variable "insecure" {
type = bool
default = false
}
variable "buddy_secret_req" {
type = bool
default = false
}
variable "cron" {
type = string
}
variable "pipeline" {
type = bool
}