Add an example of Type: FileInclude.
[apex-tripleo-heat-templates.git] / nova-compute-group.yaml
1 HeatTemplateFormatVersion: '2012-12-12'
2 Description: 'Group of Nova Computes'
3 Parameters:
4   KeyName: 
5     Description: Name of an existing EC2 KeyPair to enable SSH access to the instances
6     Type: String
7     Default: default
8   InstanceType:
9     Description: Use this flavor
10     Type: String
11     Default: baremetal
12   NovaImage:
13     Type: String
14     Default: overcloud-compute
15   KeystoneHost:
16     Type: String
17   ServicePassword:
18     Description: admin_password for setting up auth in nova.
19     Type: String
20   NeutronHost:
21     Type: String
22   RabbitHost:
23     Type: String
24   RabbitPassword:
25     Type: String
26   NovaInterfaces:
27     Type: String
28     Default: eth0
29   NovaComputeDriver:
30     Type: String
31     Default: libvirt.LibvirtDriver
32   NovaApiHost:
33     Type: String
34   GlanceHost:
35     Type: String
36   NovaComputeTemplate:
37     Type: String
38     Default: https://raw.github.com/stackforge/tripleo-heat-templates/master/nova-compute-instance.yaml
39   NovaDSN:
40     Type: String
41   NeutronDSN:
42     Type: String
43 Resources:
44   NovaCompute0:
45     Type: AWS::CloudFormation::Stack
46     Properties:
47       Parameters:
48         NovaImage: {Ref: NovaImage}
49         InstanceType: {Ref: InstanceType}
50         KeyName: {Ref: KeyName}
51         KeystoneHost: {Ref: KeystoneHost}
52         ServicePassword: {Ref: ServicePassword}
53         NeutronHost: {Ref: NeutronHost}
54         RabbitHost: {Ref: RabbitHost}
55         RabbitPassword: {Ref: RabbitPassword}
56         NovaInterfaces: {Ref: NovaInterfaces}
57         NovaComputeDriver: {Ref: NovaComputeDriver}
58         NovaApiHost: {Ref: NovaApiHost}
59         GlanceHost: {Ref: GlanceHost}
60         NovaDSN: {Ref: NovaDSN}
61         NeutronDSN: {Ref: NeutronDSN}
62       TemplateURL: {Ref: NovaComputeTemplate}