-
Notifications
You must be signed in to change notification settings - Fork 22
/
schema.yaml
476 lines (425 loc) · 20.7 KB
/
schema.yaml
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
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
# Copyright (c) 2019, 2020 Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
#
title: "Three-tier web application using Docker Swarm based on using Always-Free resources"
description: "Docker Swarm Based on OciSwarm Basic using Always-Free Oracle Cloud Infrastructure"
schemaVersion: 1.1.0
version: "20190304"
source:
type: quickstart
logoUrl: data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgMTI4IDEyOCI+CiAgPGRlZnM+CiAgICA8ZmlsdGVyIGlkPSJQYXRoXzI3IiB4PSIwIiB5PSIwIiB3aWR0aD0iNjguMjciIGhlaWdodD0iNjIuOTUxIiBmaWx0ZXJVbml0cz0idXNlclNwYWNlT25Vc2UiPgogICAgICA8ZmVPZmZzZXQgZHg9IjEiIGR5PSIzIiBpbnB1dD0iU291cmNlQWxwaGEiLz4KICAgICAgPGZlR2F1c3NpYW5CbHVyIHN0ZERldmlhdGlvbj0iMyIgcmVzdWx0PSJibHVyIi8+CiAgICAgIDxmZUZsb29kIGZsb29kLW9wYWNpdHk9IjAuNTAyIi8+CiAgICAgIDxmZUNvbXBvc2l0ZSBvcGVyYXRvcj0iaW4iIGluMj0iYmx1ciIvPgogICAgICA8ZmVDb21wb3NpdGUgaW49IlNvdXJjZUdyYXBoaWMiLz4KICAgIDwvZmlsdGVyPgogICAgPGZpbHRlciBpZD0icGF0aDUiIHg9IjE3LjYzNyIgeT0iMTEuNCIgd2lkdGg9IjMyLjUzNyIgaGVpZ2h0PSIzOS4xNzMiIGZpbHRlclVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+CiAgICAgIDxmZU9mZnNldCBkeT0iMyIgaW5wdXQ9IlNvdXJjZUFscGhhIi8+CiAgICAgIDxmZUdhdXNzaWFuQmx1ciBzdGREZXZpYXRpb249IjMiIHJ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MjY0LTEuMjY0LTEuMjY0LTIuNjg2VjEyLjY1N2MtLjc5LDAtMS43MzguMzE2LTIuNTI4LjMxNlYyMy4wODZBNi4yMTksNi4yMTksMCwwLDEsMTIuNzgxLDI1LjNjLTEuOSwwLTIuMzctMS41OC0yLjM3LTMuNDc2VjE1LjY1OWMwLTEuMTA2LS4xNTgtMy0uMTU4LTMtLjk0OCwwLTEuOS4zMTYtMi42ODYuMzE2LDAsMCwuMzE2LDIuMzcuMzE2LDMuMzE4djUuODQ2YzAsMS45LjMxNiwzLjQ3Ni4zMTYsNC41ODIsMCwxLjktLjQ3NCwzLjMxOC0uNDc0LDUuMDU2QTIuMjE0LDIuMjE0LDAsMCwwLDkuNDYzLDMzLjgzYy43OSwwLDEuNDIyLS42MzIsMS40MjItMS45LDAtMS40MjItMS4xMDYtMy42MzQtMS4xMDYtNS42ODgsMC0uMTU4LjE1OC0uMzE2LjQ3NC0uMzE2YTIuMzY3LDIuMzY3LDAsMCwwLDEuOS43OUE1LjkyNCw1LjkyNCwwLDAsMCwxNi44OSwyNC41MDhaTTE2Ljg5LDI0LjUwOFoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE5LjA3IDQuNzQpIi8+CiAgICA8L2c+CiAgPC9nPgo8L3N2Zz4=
locale: "en"
groupings:
- title: "Basic Hidden"
visible: false
variables:
- compartment_ocid
- tenancy_ocid
- region
- user_email
- title: "General Configuration"
variables:
- num_nodes
- memory_in_gbs
- ocpus
- title: "Optional Configuration"
variables:
- autonomous_database_name
- show_advanced
- generate_public_ssh_key
- public_ssh_key
- is_pv_encryption_in_transit_enabled
- title: "Encryption using OCI Vault (KMS)"
variables:
- use_encryption_from_oci_vault
- create_new_encryption_key
- encryption_key_id
- create_vault_policies_for_group
- user_admin_group_for_vault_policy
- title: "Advanced Resource Options"
variables:
- use_only_always_free_elegible_resources
- title: "Advanced Resource Options - Load Balancer"
variables:
- lb_shape
- lb_compartment_ocid
- create_secondary_vcn
- create_lpg_policies_for_group
- user_admin_group_for_lpg_policy
- title: "Advanced Resource Options - Compute"
variables:
- instance_shape
- image_operating_system
- image_operating_system_version
- instance_visibility
- title: "Advanced Resource Options - ATP"
variables:
- autonomous_database_is_free_tier
- autonomous_database_visibility
- title: "Advanced Resource Options - Object Storage"
variables:
- object_storage_oci_swarm_media_compartment_ocid
- object_storage_oci_swarm_media_visibility
- title: "Extras Hidden"
variables:
- user_ocid
- fingerprint
- private_key_path
- autonomous_database_db_version
- autonomous_database_license_model
- autonomous_database_cpu_core_count
- autonomous_database_data_storage_size_in_tbs
- oracle_client_version
- vault_display_name
- vault_type
- vault_key_display_name
- vault_key_key_shape_algorithm
- vault_key_key_shape_length
- object_storage_oci_swarm_media_read_par_expiration_date
- network_cidrs
- services_in_mock_mode
visible: false
variables:
compartment_ocid:
type: oci:identity:compartment:id
required: true
title: "Compartment"
description: "The compartment in which to create compute instance(s) and ATP."
num_nodes:
type: enum
enum:
- "1"
- "2"
- "3"
- "4"
title: "Node Count"
description: "Choose the number of compute instances to deploy."
default: "2"
required: true
memory_in_gbs:
type: enum
enum:
- "6"
- "12"
- "18"
- "24"
title: "Amount of memory (GB)"
description: "Memory is restricted by account limits."
default: "12"
required: true
ocpus:
type: enum
enum:
- "1"
- "2"
- "3"
- "4"
title: "Number of OCPUs"
description: "OCPU count is restricted by account limits."
default: "2"
required: true
autonomous_database_name:
type: string
title: "Database Name"
description: "The name for the Autonomous Database instance. The deployment id (4 characters random string) will be added to the end of the DB name."
minLength: 1
maxLength: 10
pattern: "^[a-zA-Z][a-zA-Z0-9]+$"
required: true
show_advanced:
type: boolean
title: "Show advanced options?"
description: "Shows advanced options, allowing enable customer managed encryption keys, select your ssh key, and other advanced options. NOTE: Only encryption and ssh key changes are available as Always Free resources, other advanced options may not be available on the Always Free."
visible: true
generate_public_ssh_key:
type: boolean
title: "Auto-generate public ssh key?"
description: "Auto-generate a public key and assign to the compute instances. Uncheck to provide your own public key or leave blank not to use any attach any key to the compute instance."
visible:
and:
- show_advanced
public_ssh_key:
type: oci:core:ssh:publickey
title: "SSH Public Key"
description: "The public SSH key for the key-pair that you want to use, if you wish to login to the instances over SSH."
additionalProps:
allowMultiple: true
pattern: "((^(ssh-rsa AAAAB3NzaC1yc2|ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNT|ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzOD|ecdsa-sha2-nistp521 AAAAE2VjZHNhLXNoYTItbmlzdHA1MjEAAAAIbmlzdHA1Mj|ssh-ed25519 AAAAC3NzaC1lZDI1NTE5|ssh-dss AAAAB3NzaC1kc3)[0-9A-Za-z+\/]+[=]{0,3})( [^,]*)?)(,((ssh-rsa AAAAB3NzaC1yc2|ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNT|ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzOD|ecdsa-sha2-nistp521 AAAAE2VjZHNhLXNoYTItbmlzdHA1MjEAAAAIbmlzdHA1Mj|ssh-ed25519 AAAAC3NzaC1lZDI1NTE5|ssh-dss AAAAB3NzaC1kc3)[0-9A-Za-z+\/]+[=]{0,3})( [^,]*)?)*$"
visible:
and:
- and:
- show_advanced
- not:
- generate_public_ssh_key
is_pv_encryption_in_transit_enabled:
type: boolean
title: "Use in-transit encryption?"
description: "Encrypts data in transit between the instance and the boot volume. In-transit encryption for boot and block volumes is only available for virtual machine (VM) instances launched from Oracle-provided images, it is not supported on bare metal instances."
visible:
and:
- show_advanced
use_encryption_from_oci_vault:
type: boolean
title: "Encrypt boot volume and object storage bucket with a key that you manage?"
description: "By default, Oracle manages the keys that encrypt the boot volume and object storage bucket, but you can choose a key from a vault that you have access to if you want greater control over the key's lifecycle and how it's used."
visible:
and:
- show_advanced
create_new_encryption_key:
type: boolean
title: "Create new vault and encryption key?"
description: "Creates new vault and key on OCI Vault/Key Management/KMS and assign to boot volume of compute and object storage bucket."
visible:
and:
- show_advanced
- use_encryption_from_oci_vault
encryption_key_id:
type: string
title: "Existent master encryption key"
description: "Use an existent master encryption key to encrypt boot volume and object storage bucket. NOTE: If the key resides in a different compartment or in a different tenancy, make sure you have the proper policies to access, or the provision of Object Storage and Compute will fail."
visible:
and:
- and:
- show_advanced
- use_encryption_from_oci_vault
- not:
- create_new_encryption_key
create_vault_policies_for_group:
type: boolean
title: "Create policies for the user group to manage vault and keys?"
description: "Creates policies to allow the user applying the stack to manage vault and keys. If you are on the Administrators group or already have the policies for a compartment, this policy is not needed. If you do not have access to allow the policy, ask your administrator to include it for you."
visible:
and:
- show_advanced
- use_encryption_from_oci_vault
- create_new_encryption_key
user_admin_group_for_vault_policy:
type: string
title: "Specific your group to include the policy"
description: "Identity Group to allow manage vault and keys."
visible:
and:
- show_advanced
- use_encryption_from_oci_vault
- create_new_encryption_key
- create_vault_policies_for_group
use_only_always_free_elegible_resources:
type: boolean
title: "Use only always free eligible resources?"
description: "*** Unchecking this may use options that are not included or supported by Always Free eligible resources."
visible:
and:
- show_advanced
lb_shape:
type: enum
enum:
- "flexible"
- "10Mbps"
- "100Mbps"
- "400Mbps"
- "8000Mbps"
title: "Select a shape for the load balancer"
description: "A load balancer provides automated traffic distribution from one entry point to multiple servers in a backend set. The load balancer ensures that your services remain available by directing traffic only to healthy servers in the backend set."
visible:
and:
- and:
- show_advanced
- not:
- use_only_always_free_elegible_resources
lb_compartment_ocid:
type: oci:identity:compartment:id
title: "Load Balancer Compartment"
description: "The compartment in which to create the Public Load Balancer."
default: compartment_ocid
visible:
and:
- and:
- show_advanced
- not:
- use_only_always_free_elegible_resources
create_secondary_vcn:
type: boolean
title: "Create secondary VCN for LoadBalancer?"
description: "Creates a secondary VCN for the LoadBalancer with local peering to the main VCN."
visible:
and:
- and:
- show_advanced
- not:
- use_only_always_free_elegible_resources
create_lpg_policies_for_group:
type: boolean
title: "Create policies for the user group to manage local peering gateways?"
description: "Creates policies to allow the user applying the stack to create a local peering gateway. If you are on the Administrators group or already have the policies for a compartment, this policy is not needed. If you do not have access to allow the policy, ask your administrator to include it for you."
visible:
and:
- and:
- show_advanced
- create_secondary_vcn
- not:
- use_only_always_free_elegible_resources
user_admin_group_for_lpg_policy:
type: string
title: "Specific your group to include the policy"
description: "Identity Group to allow manage local peering gateways."
visible:
and:
- and:
- show_advanced
- create_secondary_vcn
- create_lpg_policies_for_group
- not:
- use_only_always_free_elegible_resources
instance_shape:
type: oci:core:instanceshape:name
title: "Select a shape for the compute instances"
description: "A shape is a template that determines the number of CPUs, amount of memory, and other resources allocated to a newly created instance."
dependsOn:
compartmentId: compartment_ocid
required: true
visible:
and:
- and:
- show_advanced
- not:
- use_only_always_free_elegible_resources
image_operating_system:
type: string
title: "Compute Image OS"
description: "The OS/image installed on all compute instances."
required: true
visible:
and:
- and:
- show_advanced
- not:
- use_only_always_free_elegible_resources
image_operating_system_version:
type: string
title: "Compute Image OS Version"
description: "The OS/image version installed on all compute instances."
required: true
visible:
and:
- and:
- show_advanced
- not:
- use_only_always_free_elegible_resources
instance_visibility:
type: enum
enum:
- "Public"
- "Private"
title: "Choose instance visibility type"
description: "The instance visibility will define if assign a public ip address to the compute instance and if the subnet is public or private."
visible:
and:
- and:
- show_advanced
- not:
- use_only_always_free_elegible_resources
autonomous_database_is_free_tier:
type: boolean
title: "Use always free Autonomous Database?"
description: "Uses Always Free Transaction Processing Autonomous Database. Unchecking this option will provision a regular 1 OCPU ATP instance with License."
visible:
and:
- and:
- show_advanced
- not:
- use_only_always_free_elegible_resources
autonomous_database_visibility:
type: enum
enum:
- "Public"
# - "Private"
title: "Choose autonomous database visibility type"
description: "NOTE: Currently private endpoints are only supported if use local terraform. | If Private, creates the ADB with private endpoint. The autonomous database visibility will define if assign the ATP to a private subnet or allow secure access from everywhere."
visible:
and:
- and:
- show_advanced
- not:
- use_only_always_free_elegible_resources
object_storage_oci_swarm_media_compartment_ocid:
type: oci:identity:compartment:id
title: "Object Storage (OciSwarm Media) Compartment"
description: "The compartment in which to create the Public OciSwarm product images."
default: compartment_ocid
visible:
and:
- and:
- show_advanced
- not:
- use_only_always_free_elegible_resources
object_storage_oci_swarm_media_visibility:
type: enum
enum:
- "Public"
- "Private"
title: "Select Object Storage visibility"
description: "Public creates a public bucket for the swarm media product images. Private creates a private bucket and populates the catalogue service with the images."
visible:
and:
- and:
- show_advanced
- not:
- use_only_always_free_elegible_resources
object_storage_oci_swarm_media_read_par_expiration_date:
type: string
title: "Object Storage Media PAR expiration date"
description: "The name for the Autonomous Database instance."
visible:
and:
- and:
- show_advanced
- not:
- use_only_always_free_elegible_resources
outputGroups:
- title: "OciSwarm App details"
outputs:
- lb_public_url
- autonomous_database_password
- generated_private_key_pem
- deploy_id
- deployed_to_region
- oci_swarm_basic_source_code
- dev
- comments
outputs:
lb_public_url:
type: link
title: Open
visible: true
autonomous_database_password:
type: string
title: "Database Admin Password"
displayText: "Autonomous Database Admin Password"
visible: true
generated_private_key_pem:
type: string
title: "Generated Private Key for SSH Access"
displayText: "Generated Private Key for ssh access to compute nodes"
visible: true
dev:
type: string
title: "Message"
visible: true
deploy_id:
type: string
title: "Deployment Id"
visible: true
deployed_to_region:
type: string
title: "Deployed using Region"
visible: true
oci_swarm_basic_source_code:
type: link
title: "OciSwarm Basic source code"
visible: true
comments:
type: string
title: "Comments"
displayText: "The application URL will be unavailable for a few minutes after provisioning, while the application is configured"
visible: true
primaryOutputButton: ${lb_public_url}