1 HeatTemplateFormatVersion: '2012-12-12'
2 Description: 'HEAT Template - Dedicated MySQL server'
5 Description: Name of an existing EC2 KeyPair to enable SSH access to the instances
9 Description: Use this flavor
16 Type: AWS::EC2::Instance
18 OpenStack::ImageBuilder::Elements: [ rabbitmq-server ]
20 password_handle: {Ref: RabbitMQPasswordHandle}
24 InstanceType: {Ref: InstanceType}
25 KeyName: {Ref: KeyName}
26 UserData: "#!/bin/bash\ntouch /tmp/userdata-finished\necho Userdata finished $(date)\n"
27 RabbitMQPasswordHandle:
28 Type: AWS::CloudFormation::WaitConditionHandle
31 Type: AWS::CloudFormation::WaitCondition
33 Handle: {Ref: RabbitMQPasswordHandle}
37 Fn::GetAtt: [ RabbitMQ , PrivateIp ]
39 Fn::GetAtt: [ RabbitMQPassword, Data ]