Merge "Make removing nodes from scaled items possible."
[apex-tripleo-heat-templates.git] / base.yaml
1 heat_template_version: 2013-05-23
2 description: 'Tie OpenStack components together'
3 parameters:
4   TemplateRoot:
5     description: URL Base where all of our templates are available
6     type: string
7   KeystoneAdminToken:
8     description: Admin Token needed for keystone
9     type: string
10     hidden: true
11 resources:
12   RabbitMQ:
13     type: AWS::CloudFormation::Stack
14     TemplateURL:
15       Fn::Join:
16         - {get_param: TemplateRoot}
17         - rabbitmq.yaml
18     parameters:
19       InstanceType: m1.small
20       KeyName: default
21       RabbitMQImage: image-rabbitmq
22   MySQL:
23     type: AWS::CloudFormation::Stack
24     TemplateURL:
25       Fn::Join:
26         - {get_param: TemplateRoot}
27         - mysql.yaml
28     parameters:
29       InstanceType: m1.small
30       KeyName: default
31       MySQLImage: image-mysql
32   Keystone:
33     type: AWS::CloudFormation::Stack
34     TemplateURL:
35       Fn::Join:
36         - {get_param: TemplateRoot}
37         - keystone.yaml
38     parameters:
39       AdminToken: {get_param: KeystoneAdminToken}
40       KeyName: default
41       KeystoneDSN:
42         Fn::Join:
43           - 'mysql://keystone:'
44           - {get_attr: [ MySQL , KeystonePassword ]}
45           - '@'
46           - {get_attr: [ MySQL , MySQLHost ]}
47           - '/keystone'
48   Glance:
49     type: AWS::CloudFormation::Stack
50     TemplateURL:
51       Fn::Join:
52         - {get_param: TemplateRoot}
53         - glance.yaml
54     parameters:
55       KeyName: default
56       HeatDSN:
57         Fn::Join:
58           - 'mysql://glance:'
59           - {get_attr: [ MySQL, GlancePassword ] }
60           - '@'
61           - {get_attr: [ MySQL, MySQLHost ]}
62           - '/glance'
63   Heat:
64     type: AWS::CloudFormation::Stack
65     TemplateURL:
66       Fn::Join:
67         - {get_param: TemplateRoot}
68         - heat.yaml
69     parameters:
70       KeyName: default
71       HeatDSN:
72         Fn::Join:
73           - 'mysql://heat:'
74           - {get_attr: [ MySQL, HeatPassword ] }
75           - '@'
76           - {get_attr: [ MySQL, MySQLHost ]}
77           - '/heat'