-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema.yaml
160 lines (134 loc) · 4.99 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
# Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
title: "Create a HUB-spoke network in Oracle Cloud Infrastructure"
stackDescription: ${Messages.solutionsHub.solutions.hubSpoke.stackDescription()}
schemaVersion: 1.0.0
version: "20200301"
locale: "en"
variableGroups:
- title: ${Messages.solutionsHub.generalConfig()}
visible: false
variables:
- compartment_ocid
- tenancy_ocid
- region
- instance_os
- title: ${Messages.solutionsHub.requiredConfig()}
visible: true
variables:
- ssh_public_key
- igw_display_name
- hub_vcn_display_name
- hub_vcn_cidr_block
- hub_vcn_dns_label
- hub_subnet_pub01_display_name
- hub_subnet_pub01_cidr_block
- spoke01_vcn_display_name
- spoke01_vcn_cidr_block
- spoke01_vcn_dns_label
- spoke01_subnet_priv01_display_name
- spoke01_subnet_priv01_cidr_block
- spoke02_vcn_display_name
- spoke02_vcn_dns_label
- spoke02_vcn_cidr_block
- spoke02_subnet_priv01_display_name
- spoke02_subnet_priv01_cidr_block
- title: ${Messages.solutionsHub.optionalConfig()}
visible: true
variables:
- linux_os_version
- InstanceShape
variables:
compartment_ocid:
type: oci:identity:compartment:id
required: true
title: ${Messages.solutionsHub.genericVariables.compartment.title()}
description: ${Messages.solutionsHub.genericVariables.compartment.description()}
region:
type: oci:identity:region:name
required: true
title: ${Messages.solutionsHub.genericVariables.region.title()}
description: ${Messages.solutionsHub.genericVariables.region.description()}
ssh_public_key:
type: oci:core:ssh:publickey
required: true
title: ${Messages.solutionsHub.solutions.hubSpoke.variables.ssh_public_key.title()}
igw_display_name:
type: string
required: true
title: ${Messages.solutionsHub.solutions.hubSpoke.variables.igw_display_name.title()}
hub_vcn_cidr_block:
type: string
required: true
title: ${Messages.solutionsHub.solutions.hubSpoke.variables.hub_vcn_cidr_block.title()}
hub_vcn_dns_label:
type: string
required: true
title: ${Messages.solutionsHub.solutions.hubSpoke.variables.hub_vcn_dns_label.title()}
hub_vcn_display_name:
type: string
required: true
title: ${Messages.solutionsHub.solutions.hubSpoke.variables.hub_vcn_display_name.title()}
hub_subnet_pub01_cidr_block:
type: string
required: true
title: ${Messages.solutionsHub.solutions.hubSpoke.variables.hub_subnet_pub01_cidr_block.title()}
hub_subnet_pub01_display_name:
type: string
required: true
title: ${Messages.solutionsHub.solutions.hubSpoke.variables.hub_subnet_pub01_display_name.title()}
spoke01_vcn_cidr_block:
type: string
required: true
title: ${Messages.solutionsHub.solutions.hubSpoke.variables.spoke01_vcn_cidr_block.title()}
spoke01_vcn_dns_label:
type: string
required: true
title: ${Messages.solutionsHub.solutions.hubSpoke.variables.spoke01_vcn_dns_label.title()}
spoke01_vcn_display_name:
type: string
required: true
title: ${Messages.solutionsHub.solutions.hubSpoke.variables.spoke01_vcn_display_name.title()}
spoke01_subnet_priv01_cidr_block:
type: string
required: true
title: ${Messages.solutionsHub.solutions.hubSpoke.variables.spoke01_subnet_priv01_cidr_block.title()}
spoke01_subnet_priv01_display_name:
type: string
required: true
title: ${Messages.solutionsHub.solutions.hubSpoke.variables.spoke01_subnet_priv01_display_name.title()}
spoke02_vcn_cidr_block:
type: string
required: true
title: ${Messages.solutionsHub.solutions.hubSpoke.variables.ssh_public_key.title()}
spoke02_vcn_dns_label:
type: string
required: true
title: ${Messages.solutionsHub.solutions.hubSpoke.variables.spoke02_vcn_dns_label.title()}
spoke02_vcn_display_name:
type: string
required: true
title: ${Messages.solutionsHub.solutions.hubSpoke.variables.spoke02_vcn_display_name.title()}
spoke02_subnet_priv01_cidr_block:
type: string
required: true
title: ${Messages.solutionsHub.solutions.hubSpoke.variables.spoke02_subnet_priv01_cidr_block.title()}
spoke02_subnet_priv01_display_name:
type: string
required: true
title: ${Messages.solutionsHub.solutions.hubSpoke.variables.spoke02_subnet_priv01_display_name.title()}
InstanceShape:
type: oci:core:instanceshape:name
required: false
title: ${Messages.solutionsHub.solutions.hubSpoke.variables.InstanceShape.title()}
description: ${Messages.solutionsHub.solutions.hubSpoke.variables.InstanceShape.description()}
default: ""
dependsOn:
compartmentId: compartment_ocid
instance_os:
type: enum
title: ${Messages.solutionsHub.solutions.hubSpoke.variables.instance_os.title()}
description: ${Messages.solutionsHub.solutions.hubSpoke.variables.instance_os.description()}
enum:
- "Oracle Linux - Latest Image"
required: false