-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathschema.yaml
157 lines (153 loc) · 3.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
# Title shown in Application Information tab.
title: "Data Science Resource Manager Stack"
# Sub Title shown in Application Information tab.
description: "Provision Data Science and its prerequisites"
schemaVersion: 1.1.0
version: "1.0"
locale: "en"
variableGroups:
- title: "Hidden"
variables:
- compartment_ocid
- tenancy_ocid
- user_ocid
- region
- fingerprint
- private_key_path
visible: false
- title: "Provision in"
variables:
- region
- compartment_ocid
visible: false
- title: "IAM Groups and Policies Configuration"
variables:
- ods_group_name
- ods_dynamic_group_name
- ods_policy_name
- title: "Vault Configuration"
variables:
- enable_vault
- ods_use_existing_vault
- ods_existing_vault
- ods_vault_name
- ods_vault_type
- enable_create_vault_master_key
- ods_vault_master_key_name
- ods_vault_master_key_length
variables:
region:
type: oci:identity:region:name
required: true
visible: true
compartment_ocid:
type: oci:identity:compartment:id
required: true
title: "Compartment"
visible: true
tenancy_ocid:
type: string
required: true
visible: false
ods_group_name:
type: string
title: "Group Name for security policies"
description: "Do not use spaces."
required: true
default: "DataScienceGroup"
pattern: "^[a-zA-Z0-9]+$"
ods_dynamic_group_name:
type: string
title: "Dynamic Group Name for Data Science resources"
description: "Do not use spaces."
required: true
default: "DataScienceDynamicGroup"
pattern: "^[a-zA-Z0-9]+$"
ods_policy_name:
type: string
title: "Policy Name (Compartment Level)"
description: "Do not use spaces."
required: true
default: "DataSciencePolicies"
pattern: "^[a-zA-Z0-9]+$"
enable_vault:
type: boolean
title: "Enable Vault Support ?"
description: "Use a vault to store secrets and manage encrypted resources."
required: true
default: false
ods_use_existing_vault:
type: boolean
title: "Use Existing vault?"
description: "Use a pre-existing vault in the current compartment."
required: true
default: false
visible: enable_vault
ods_existing_vault:
type: oci:kms:vault:id
title: "Select a vault"
dependsOn:
compartmentId: ${compartment_ocid}
visible:
and:
- ods_use_existing_vault
- enable_vault
ods_vault_name:
type: string
title: "Vault Name"
default: "Data Science Vault"
required: true
visible:
and:
- enable_vault
- not:
- ods_use_existing_vault
ods_vault_type:
type: enum
title: "Vault Type"
default: "DEFAULT"
required: true
visible:
and:
- enable_vault
- not:
- ods_use_existing_vault
enum:
- DEFAULT
- VIRTUAL
enable_create_vault_master_key:
type: boolean
title: "Create a master encryption key in the vault?"
required: true
default: true
visible:
and:
- enable_vault
- not:
- ods_use_existing_vault
ods_vault_master_key_name:
type: string
title: "Master Encryption Key Name"
default: "DataScienceKey"
required: true
visible:
and:
- enable_vault
- enable_create_vault_master_key
- not:
- ods_use_existing_vault
ods_vault_master_key_length:
type: enum
title: "Length of the master encryption key"
default: 32
required: true
visible:
and:
- enable_vault
- enable_create_vault_master_key
- not:
- ods_use_existing_vault
enum:
- 16
- 24
- 32