forked from oracle-devrel/terraform-oci-arch-fn-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema.yaml
113 lines (97 loc) · 2.98 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
## 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: "Deploy an event-triggered serverless application"
stackDescription: "Deploy an event-triggered serverless application"
schemaVersion: 1.1.0
version: "20190404"
locale: "en"
variableGroups:
- title: General Configuration
visible: false
variables:
- tenancy_ocid
- region
- release
- ocir_repo_name
- ocir_repo_name
- use_existing_vcn
- vcn_id
- fn_subnet_id
- title: Required Configuration
visible: true
variables:
- compartment_ocid
- ocir_user_name
- ocir_user_password
- show_advanced
- title: OSS Bucket Optional Configuration
visible:
and:
- show_advanced
variables:
- bucket
- title: Networking Optional Configuration
visible:
and:
- show_advanced
variables:
- VCN-CIDR
- fnsubnet-CIDR
variables:
show_advanced:
type: boolean
title: "Show advanced options?"
description: "Shows advanced options."
visible: true
default: false
compartment_ocid:
type: oci:identity:compartment:id
required: true
visibile: true
title: "Compartment"
description: "Choose compartment where you want to create the solution resources"
region:
type: oci:identity:region:name
required: true
visibile: true
title: "Region"
description: "Choose region where you want to deploy the resources defined by this stack."
ocir_user_name:
type: string
required: true
visibile: true
title: "OCIR username"
description: "Oracle Cloud Infrastructure Registry username (your OCI username)"
ocir_user_password:
type: password
required: true
visibile: true
title: "OCIR user password"
description: "Oracle Cloud Infrastructure Registry user password (your OCI user authtoken)"
# Optional Configuration
VCN-CIDR:
type: string
required: false
default: "10.0.0.0/16"
pattern: "^(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9]).(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9]).(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9]).(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])\\/(3[0-2]|[1-2]?[0-9])$"
title: "VCN CIDR"
description: "Choose VCN's CIDR block where Fn App will be deployed."
fnsubnet-CIDR:
type: string
required: false
default: "10.0.2.0/24"
pattern: "^(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9]).(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9]).(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9]).(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])\\/(3[0-2]|[1-2]?[0-9])$"
title: "Subnet CIDR"
description: "Choose Public Subnet's CIDR where Fn App will be deployed."
bucket:
type: string
required: false
default: "bucket"
title: "Bucket Name"
description: "Choose bucket name"
outputs:
buckets_created:
title: "Created buckets"
displayText: "Created buckets"
type: copyableString
visible: true