HeatTemplateFormatVersion: '2012-12-12'
-Description: 'HEAT Template - Heat Engine and API'
+Description: 'Heat Engine and API'
Parameters:
KeyName:
Description: Name of an existing EC2 KeyPair to enable SSH access to the instances
AvailabilityZones:
Type: List
Default: [ 1 ]
- TemplateURL:
- Type: String
- Default: https://raw.github.com/openstack-ops/templates/master/
Resources:
EngineAccessPolicy:
Type: OS::Heat::AccessPolicy
{Ref: HeatApiImage}
InstanceType: {Ref: InstanceType}
KeyName: {Ref: KeyName}
- UserData: "#!/bin/bash\ntouch /tmp/userdata-finished\necho Userdata finished $(date)\n"
HeatAPI:
Type: OS::Heat::InstanceGroup
Properties:
ImageId:
{Ref: HeatEngineImage}
Metadata:
+ OpenStack::Role: stateful
+ OpenStack::ImageBuilder::Elements: [ heat-engine ]
heat:
rpc_backend: heat.openstack.common.rpc.impl_kombu
rabbit: