generated from oracle-quickstart/oci-quickstart-template
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathschema.yaml
206 lines (199 loc) · 7.35 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
title: Workload Landing Zone
description: Workload Landing Zone developed by OCI RSA
schemaVersion: 1.1.0
version: "0.1"
locale: en
variableGroups:
- title: Provider Variables
visible: false
variables:
- api_fingerprint
- api_private_key_path
- region
- tenancy_ocid
- current_user_ocid
- title: Tagging
variables:
- tag_cost_center
- tag_geo_location
- title: Compartment
variables:
- applications_compartment_id
- workload_compartment_name
- title: Global Resources Control
variables:
- deploy_global_resources
- title: IAM
variables:
- network_compartment_name
- network_compartment_id
- show_extra_group_names
- workload_storage_admins_group_name
- workload_storage_users_group_name
- workload_admins_group_name
- workload_users_group_name
- database_admins_group_name
- title: VCN
variables:
- vcn_id
- nat_gateway_id
- private_subnet_cidr_block
- private_subnet_dns_label
- database_subnet_cidr_block
- database_subnet_dns_label
- title: Sandbox Mode
variables:
- is_sandbox_mode_enabled
variables:
#Provider Variables
api_fingerprint:
type: string
description: The fingerprint of API
default: "Value not required in Oracle Resource Manager."
title: Api Fingerprint
api_private_key_path:
type: string
description: The local path to the API private key
default: "Value not required in Oracle Resource Manager."
title: Api Private Key Path
region:
type: string
description: the OCI region
title: Region
tenancy_ocid:
type: string
description: The OCID of tenancy
title: Tenancy OCID
current_user_ocid:
type: string
description: OCID of the current user
title: Current User OCID
# Tagging
tag_cost_center:
type: string
description: CostCenter tag value. Allows printable ASCII, excluding periods (.) and spaces and max 100 characters.
required: true
title: Tag Cost Center
pattern: ^((?!\.| )[ -~]){1,100}$
tag_geo_location:
type: string
description: GeoLocation tag value. Allows printable ASCII, excluding periods (.) and spaces and max 100 characters.
required: true
title: Tag Geo Location
pattern: ^((?!\.| )[ -~]){1,100}$
# Compartments
workload_compartment_name:
type: string
description: Name of the workload compartment. Maximum 100 characters, including letters, numbers, periods, hyphens, underscores, and is unique within its parent compartment.
required: true
title: Workload Compartment Name
pattern: ^([\w\.-]){1,100}$
applications_compartment_id:
type: string
description: OCID of the top level application compartment.
required: true
title: Applications Compartment OCID
# Global Resources Control
deploy_global_resources:
type: boolean
description: Whether to deploy global resources, including tenancy level IAM service and Security service (Cloud Guard, VSS, Flow Log). Choose false if extend your Landing Zone to another region.
required: true
defaul: true
title: Deploy Global Resources
# IAM
network_compartment_name:
type: string
description: Name of the network compartment. Maximum 100 characters, including letters, numbers, periods, hyphens, underscores, and is unique within its parent compartment.
required: true
title: Network Compartment Name
pattern: ^([\w\.-]){1,100}$
network_compartment_id:
type: string
description: OCID of the network compartment.
required: true
title: Network Compartment OCID
show_extra_group_names:
type: boolean
default: false
required: false
title: Override default group names
workload_admins_group_name:
type: string
description: The name for the workload administrators group. Maximum 100 characters, including letters, numbers, periods, hyphens, underscores, and is unique across all groups.
required: true
title: Workload Admins Group Name
visible: show_extra_group_names
pattern: ^([\w\.-]){1,100}$
workload_storage_admins_group_name:
type: string
description: The name for the workload storage administrators group. Maximum 100 characters, including letters, numbers, periods, hyphens, underscores, and is unique across all groups.
required: true
title: Workload Storage Admins Group Name
visible: show_extra_group_names
pattern: ^([\w\.-]){1,100}$
workload_storage_users_group_name:
type: string
description: The name for the workload storage users group. Maximum 100 characters, including letters, numbers, periods, hyphens, underscores, and is unique across all groups.
required: true
title: Workload Storage Users Group Name
visible: show_extra_group_names
pattern: ^([\w\.-]){1,100}$
workload_users_group_name:
type: string
description: The name for the workload users group. Maximum 100 characters, including letters, numbers, periods, hyphens, underscores, and is unique across all groups.
required: true
title: Workload Users Group Name
visible: show_extra_group_names
pattern: ^([\w\.-]){1,100}$
database_admins_group_name:
type: string
description: The name for the database admins group. Maximum 100 characters, including letters, numbers, periods, hyphens, underscores, and is unique across all groups.
required: true
title: Database Admins Group Name
visible: show_extra_group_names
pattern: ^([\w\.-]){1,100}$
# VCN
vcn_id:
type: string
description: OCID of the VCN to attach the workload subnets.
required: true
title: VCN OCID
nat_gateway_id:
type: string
description: OCID of the NAT Gateway.
required: true
title: NAT Gateway OCID
private_subnet_cidr_block:
type: string
pattern: ^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(\/([0-9]|[1][0-9]|[2][0-9]))$
description: Private Subnet CIDR Block (one per workload, maximum of five)
required: true
title: Private Subnet CIDR Blocks
private_subnet_dns_label:
type: string
pattern: ^[a-zA-Z][a-zA-Z0-9]{1,14}$
description: Private Subnet DNS Label (one per workload, maximum of five). Allowed maximum 15 alphanumeric characters and must start with a letter.
required: true
title: Private Subnet DNS Labels
database_subnet_cidr_block:
type: string
pattern: ^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(\/([0-9]|[1][0-9]|[2][0-9]))$
description: Database Subnet CIDR Block (one per workload, maximum of five)
required: true
title: Database Subnet CIDR Blocks
database_subnet_dns_label:
type: string
pattern: ^[a-zA-Z][a-zA-Z0-9]{1,14}$
description: Database Subnet DNS Label (one per workload, maximum of five). Allowed maximum 15 alphanumeric characters and must start with a letter.
required: true
title: Database Subnet DNS Labels
# Sandbox Mode
is_sandbox_mode_enabled:
type: boolean
title: Enable Sandbox Mode?
description: Enable the sandbox mode if using the stack for development or demonstrations. Adds a unique suffix for all the tenancy level resources.
outputs:
more_info_url:
type: link
displayText: For more information, please see the Cloud Adoption Framework - Technical Implementation
primaryOutputButton: more_info_url