/
hot_parameters.yml
66 lines (56 loc) · 1.76 KB
/
hot_parameters.yml
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
heat_template_version: 2013-05-23
description: Incomplete sample template for testing parsing of various parameters
parameter_groups:
- label: General parameters
description: General parameters
parameters:
- flavor
- image_id
- cartridges
- parameters:
- admin_pass
- db_port
- metadata
parameters:
admin_pass:
type: string
description: Admin password
hidden: true
constraints:
- length: { min: 6, max: 8 }
description: >
Admin password must be between 6 and 8 characters long.
- allowed_pattern: "[a-zA-Z0-9]+"
description: Password must consist of characters and numbers only
- allowed_pattern: "[A-Z]+[a-zA-Z0-9]*"
description: Password must start with an uppercase character
flavor:
type: string
description: Flavor for the instances to be created
default: m1.small
constraints:
- custom_constraint: nova.flavor
description: Must be a flavor known to Nova
cartridges:
description: >
Cartridges to install. "all" for all cartridges; "standard" for all cartridges except for JBossEWS or JBossEAP
type: string
default: "cron,diy,haproxy,mysql,nodejs,perl,php,postgresql,python,ruby"
db_port:
type: number
label: Port Number
description: Database port number
default: 50000
constraints:
- range: { min: 40000, max: 60000 }
description: Port number must be between 40000 and 60000
image_id:
type: string
description: ID of the image to use for the instance to be created.
default: F18-x86_64-cfntools
constraints:
- allowed_values: [ F18-i386-cfntools, F18-x86_64-cfntools ]
description:
Image ID must be either F18-i386-cfntools or F18-x86_64-cfntools.
metadata:
type: json