-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathschema.yaml
130 lines (108 loc) · 2.94 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
# Title shown in Application Information tab.
title: DataStax Enterprise
# Sub Title shown in Application Information tab.
description: Terraform deployment of DSE
schemaVersion: 1.1.0
version: "20190304"
locale: "en"
variableGroups:
- title: "Hidden Variable Group"
visible: false
variables:
#"variables used internally - not exposed to end user"
- tenancy_ocid
- region
- compartment_ocid
- images
- title: "Compute Configuration"
variables:
- node_shape
- node_count
- ssh_public_key
- dse_version
- password
######################################################
############## VARIABLES #############
######################################################
variables:
# Hidden variables
######################################################
############## HIDDEN VARIABLES #############
######################################################
tenancy_ocid:
type: string
title: Tenancy ID
description: The Oracle Cloud Identifier (OCID) for your tenancy
required: true
region:
type: oci:identity:region:name
title: Region
description: The region in which to create all resources
required: true
compartment_ocid:
type: oci:identity:compartment:id
required: true
title: Compute Compartment
description: The compartment in which to create all Compute resources
default: compartment_ocid
######################################################
############## COMPUTE VARIABLES #############
######################################################
ssh_public_key:
type: oci:core:ssh:publickey
required: true
title: Public SSH Key string
description: Public SSH Key to access VM via SSH
node_shape:
type: oci:core:instanceshape:name
default: VM.Standard2.2
title: Node Shape
required: true
dependsOn:
compartmentId: compartment_ocid
node_count:
type: integer
default: 3
title: Number of DSE nodes
minimum: 1
dse_version:
type: enum
title: DSE Version
enum:
- "6.8.6"
- "6.8.5"
- "6.8.4"
- "6.8.3"
- "6.8.2"
- "6.8.1"
- "6.8.0"
- "6.7.12"
- "6.7.11"
required: true
default: "6.8.6"
password:
type: password
title: "Password for DSE user 'cassandra' and OpsCenter user 'admin'"
description: "Alphanumeric, min 8 characters"
required: true
pattern: "^[a-zA-Z0-9]{8,}$"
#############################################
############## OUTPUTS ##############
#############################################
outputs:
opscenter_url:
type: link
title: "OpsCenter URL"
visible: true
lifecyclemanager_url:
type: link
title: "Life Cycle Manager URL"
visible: true
node_public_ips:
type: copyableString
title: "Node public IPs"
visible: true
node_private_ips:
type: copyableString
title: "Node private IPs"
visible: true