forked from oracle-quickstart/oci-arch-hub-spoke
-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.yaml
executable file
·178 lines (151 loc) · 5.43 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
## Copyright © 2020, Oracle and/or its affiliates.
## All rights reserved. The Universal Permissive License (UPL), Version 1.0 as shown at http://oss.oracle.com/licenses/upl
title: "Create a HUB-spoke network in Oracle Cloud Infrastructure"
stackDescription: Deploy a HUB-spoke network in Oracle Cloud Infrastructure
schemaVersion: 1.1.0
version: "20190404"
locale: "en"
variableGroups:
- title: General Configuration
visible: false
variables:
- compartment_ocid
- tenancy_ocid
- region
- instance_os
- title: Required Configuration
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: Optional Configuration
visible: true
variables:
- linux_os_version
- InstanceShape
variables:
compartment_ocid:
type: oci:identity:compartment:id
required: true
title: Compartment
description: Compartment where you want to create the solution resources
region:
type: oci:identity:region:name
required: true
title: Region
description: Region where you want to deploy the resources defined by this stack
ssh_public_key:
type: oci:core:ssh:publickey
required: true
title: SSH public Key
description: Public key
igw_display_name:
type: string
required: true
title: IGW Name
description: Display name of the Internet Gateway from the HUB VCN
hub_vcn_cidr_block:
type: string
required: true
title: HUB VCN CIDR Block
description: CIDR block that will be assigned to the HUB VCN
hub_vcn_dns_label:
type: string
required: true
title: DNS Label HUB VCN
description: DNS label that will be asigned to the HUB VCN
hub_vcn_display_name:
type: string
required: true
title: VNC Name
description: Display name assigned to the HUB VCN
hub_subnet_pub01_cidr_block:
type: string
required: true
title: PUB Subnet CIDR Block
description: CIDR block that will be assigned to the Public Subnet in the HUB VCN
hub_subnet_pub01_display_name:
type: string
required: true
title: PUB Subnet Display Name
description: Display name assigned to the Public subnet in the HUB VCN
spoke01_vcn_cidr_block:
type: string
required: true
title: Spoke 1 VCN CIDR Block
description: CIDR block that will be assigned to the Spoke 1 VCN
spoke01_vcn_dns_label:
type: string
required: true
title: DNS Label SPOKE 1 VCN
description: DNS label that will be asigned to the SPOKE 1 VCN
spoke01_vcn_display_name:
type: string
required: true
title: SPOKE 1 VCN Display Name
description: Display name assigned to the Spoke 1 VCN
spoke01_subnet_priv01_cidr_block:
type: string
required: true
title: Private Subnet CIDR Block on Spoke 1
description: CIDR block that will be assigned to the Private Subnet in the Spoke 1 VCN
spoke01_subnet_priv01_display_name:
type: string
required: true
title: Private Subnet Display Name
description: Display name assigned to the private subnet in the Spoke 1 VCN
spoke02_vcn_cidr_block:
type: string
required: true
title: Spoke 2 VCN CIDR Block
description: CIDR block that will be assigned to the Spoke 1 VCN
spoke02_vcn_dns_label:
type: string
required: true
title: DNS Label SPOKE 2 VCN
description: DNS label that will be asigned to the SPOKE 2 VCN
spoke02_vcn_display_name:
type: string
required: true
title: SPOKE 2 VCN Display Name
description: Display name assigned to the Spoke 2 VCN
spoke02_subnet_priv01_cidr_block:
type: string
required: true
title: Private Subnet CIDR Block on Spoke 2
description: CIDR block that will be assigned to the Private Subnet in the Spoke 2 VCN
spoke02_subnet_priv01_display_name:
type: string
required: true
title: Private Subnet Display Name
description: Display name assigned to the private subnet in the Spoke 2 VCN
InstanceShape:
type: oci:core:instanceshape:name
required: false
title: Instance Shape
description: A shape is a template that determines the number of CPUs, amount of memory, and other resources allocated to Bastion instance.
default: "VM.Standard.E2.1.Micro"
dependsOn:
compartmentId: ${compartment_ocid}
instance_os:
type: enum
title: "Image OS"
description: "The OS/image installed on the Bastion instance."
enum:
- "Oracle Linux - Latest Image"
required: false