-
Notifications
You must be signed in to change notification settings - Fork 0
/
.forms.yml
309 lines (302 loc) · 11.1 KB
/
.forms.yml
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
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
version: "2"
use_cases:
- name: default
sections:
- name: Terraform
groups:
- name: "Configuration"
technologies: [pipeline]
vars:
- name: "AWS access key"
description: "Amazon AWS access key for Terraform."
key: aws_access_key
widget: cy_cred
widget_config:
cred_types:
- aws
type: string
default: "((aws.access_key))"
- name: "AWS secret key"
description: "Amazon AWS secret key for Terraform."
key: aws_secret_key
widget: cy_cred
widget_config:
cred_types:
- aws
type: string
default: "((aws.secret_key))"
- name: "Amazon AWS region"
description: "Amazon AWS region to use for Terraform."
key: aws_default_region
widget: auto_complete
type: string
values: ["eu-north-1","ap-south-1","eu-west-3","eu-west-2","eu-west-1","ap-northeast-2","ap-northeast-1","sa-east-1","ca-central-1","ap-southeast-1","ap-southeast-2","eu-central-1","us-east-1","us-east-2","us-west-1","us-west-2"]
default: eu-west-1
- name: "Terraform storage bucket"
description: "AWS S3 bucket name to store terraform remote state file."
key: terraform_storage_bucket_name
widget: simple_text
type: string
default: ($ .organization_canonical $)-terraform-remote-state
# - name: "If using s3 compatible storage, set S3 endpoint (example http://10.10.10.10:9000)"
# description: "A custom endpoint for the S3 API."
# key: terraform_s3_endpoint
# widget: simple_text
# type: string
# default: ""
# - name: "If using s3 compatible storage, S3 skip credentials validation"
# description: "Skip the credentials validation via the STS API."
# key: terraform_s3_skip_credentials_validation
# widget: switch
# type: boolean
# default: false
# - name: "If using s3 compatible storage, S3 force path style"
# description: "Always use path-style S3 URLs (https://<HOST>/<BUCKET> instead of https://<BUCKET>.<HOST>)."
# key: terraform_s3_force_path_style
# widget: switch
# type: boolean
# default: false
- name: "Private module SSH key"
description: "SSH key used to clone private terraform modules from Git."
key: terraform_modules_private_key
widget: cy_cred
type: string
default: ""
- name: "Terraform version"
description: "terraform version used to execute your code."
key: terraform_version
widget: simple_text
type: string
default: "1.8.2"
- name: "Repos"
technologies: [pipeline]
vars:
- name: "Code git URL"
description: "URL to the Git repository containing terraform source code."
key: git_repository
widget: simple_text
type: string
default: "git@github.com:MyUser/code.git"
- name: "Code git branch"
description: "Branch of the terraform source code Git repository."
key: git_branch
widget: simple_text
type: string
default: "master"
- name: "Code git key"
description: "SSH key pair to fetch terraform source code Git repository."
key: git_private_key
type: string
widget: cy_cred
widget_config:
cred_types:
- ssh
default: "((ssh_config.ssh_key))"
- name: "Code terraform path"
description: "Path of Terraform files in the git repository."
key: git_terraform_path
widget: simple_text
type: string
default: "./"
- name: azure
sections:
- name: Terraform
groups:
- name: "Configuration"
technologies: [pipeline]
vars:
- name: "Azure subscription id"
description: "The Subscription ID which should be used"
key: azure_subscription_id
widget: cy_cred
widget_config:
cred_types:
- azure
type: string
default: "((azure.subscription_id))"
- name: "Azure tenant id"
description: "The Tenant ID which should be used"
key: azure_tenant_id
widget: cy_cred
widget_config:
cred_types:
- azure
type: string
default: "((azure.tenant_id))"
- name: "Azure client id"
description: "The Client ID which should be used"
key: azure_client_id
widget: cy_cred
widget_config:
cred_types:
- azure
type: string
default: "((azure.client_id))"
- name: "Azure client secret"
description: "The Client Secret which should be used"
key: azure_client_secret
widget: cy_cred
widget_config:
cred_types:
- azure
type: string
default: "((azure.client_secret))"
- name: "Azure environment"
description: "The Cloud Environment which should be used"
key: azure_env
widget: radios
type: string
values:
- public
- china
- german
- usgovernment
default: public
- name: "Azure location"
key: azure_location
widget: auto_complete
type: string
values: [eastasia,southeastasia,centralus,eastus,eastus2,westus,northcentralus,southcentralus,northeurope,westeurope,japanwest,japaneast,brazilsouth,australiaeast,australiasoutheast,southindia,centralindia,westindia,canadacentral,canadaeast,uksouth,ukwest,westcentralus,westus2,koreacentral,koreasouth,francecentral,francesouth,australiacentral,australiacentral2,uaecentral,uaenorth,southafricanorth,southafricawest,switzerlandnorth,switzerlandwest,germanynorth,germanywestcentral,norwaywest,norwayeast]
default: westeurope
- name: "Terraform resource group name"
description: "Azure Resource Group of the Storage Account to use to store terraform remote state file."
key: terraform_resource_group_name
widget: simple_text
type: string
default: "($ .organization_canonical $)-terraform"
- name: "Terraform storage account name"
description: "Azure Storage Account name to use to store terraform remote state file."
key: terraform_storage_account_name
widget: cy_cred
type: string
default: "((azure_storage.account_name))"
- name: "Terraform storage access key"
description: "Azure Storage Account key to use to store terraform remote state file."
key: terraform_storage_access_key
widget: cy_cred
type: string
default: "((azure_storage.access_key))"
- name: "Terraform storage container name"
description: "Azure Storage container name to store terraform remote state file."
key: terraform_storage_container_name
widget: simple_text
type: string
default: "($ .organization_canonical $)"
- name: "Terraform storage container path"
description: "Azure Storage container path to store terraform remote state file."
key: terraform_storage_container_path
widget: simple_text
type: string
default: "($ .project $)/($ .environment $)"
- name: "Private module SSH key"
description: "SSH key to use to clone private terraform modules from Git."
key: terraform_modules_private_key
widget: cy_cred
type: string
default: ""
- name: "Repos"
technologies: [pipeline]
vars:
- name: "Code git URL"
description: "URL to the Git repository containing terraform source code."
key: git_repository
widget: simple_text
type: string
default: "git@github.com:MyUser/code.git"
- name: "Code git branch"
description: "Branch of the terraform source code Git repository."
key: git_branch
widget: simple_text
type: string
default: "master"
- name: "Code git key"
description: "SSH key pair to fetch terraform source code Git repository."
key: git_private_key
type: string
widget: cy_cred
widget_config:
cred_types:
- ssh
default: "((ssh_config.ssh_key))"
- name: "Code terraform path"
description: "Path of Terraform files in the git repository."
key: git_terraform_path
widget: simple_text
type: string
default: "./"
- name: gcp
sections:
- name: Terraform
groups:
- name: "Configuration"
technologies: [pipeline]
vars:
- name: "GCP project name"
description: "The GCP project name to use"
key: gcp_project
widget: simple_text
type: string
default: "($ .project $)"
- name: "GCP zone"
key: gcp_region
widget: auto_complete
type: string
values: [asia-east1,asia-east2,asia-northeast1,asia-northeast2,asia-northeast3,asia-south1,asia-southeast1,australia-southeast1,europe-north1,europe-west1,europe-west2,europe-west3,europe-west4,europe-west6,northamerica-northeast1,southamerica-east1,us-central1,us-east1,us-east4,us-west1,us-west2,us-west3,us-west4]
default: "europe-west1"
- name: "GCP json credentials"
description: "GCP credentials in json format which should be used"
key: gcp_credentials_json
widget: cy_cred
widget_config:
cred_types:
- gcp
type: string
default: "((gcp.json_key))"
- name: "Terraform storage bucket"
description: "Google Cloud Storage bucket name to store terraform remote state file."
key: terraform_storage_bucket_name
widget: simple_text
type: string
default: ($ .organization_canonical $)-terraform-remote-state
- name: "Private module SSH key"
description: "SSH key to use to clone private terraform modules from Git."
key: terraform_modules_private_key
widget: cy_cred
type: string
default: ""
- name: "Terraform version"
description: "terraform version used to execute your code."
key: terraform_version
widget: simple_text
type: string
default: "latest"
- name: "Configuration"
technologies: [pipeline]
vars:
- name: "Code git URL"
description: "URL to the Git repository containing terraform source code."
key: git_repository
widget: simple_text
type: string
default: "git@github.com:MyUser/code.git"
- name: "Code git branch"
description: "Branch of the terraform source code Git repository."
key: git_branch
widget: simple_text
type: string
default: "master"
- name: "Code git key"
description: "SSH key pair to fetch terraform source code Git repository."
key: git_private_key
type: string
widget: cy_cred
widget_config:
cred_types:
- ssh
default: "((ssh_config.ssh_key))"
- name: "Code terraform path"
description: "Path of Terraform files in the git repository."
key: git_terraform_path
widget: simple_text
type: string
default: "./"