Last active
August 29, 2015 14:24
-
-
Save pratikmallya/b6be647475a5f0aa2172 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
heat_template_version: 2013-05-23 | |
resources: | |
volume: | |
type: OS::Cinder::Volume | |
properties: | |
size: 75 | |
volume_attachment: | |
type: OS::Cinder::VolumeAttachment | |
properties: | |
volume_id: { get_resource: volume } | |
instance_uuid: { get_resource: instance } | |
instance: | |
type: OS::Nova::Server | |
properties: | |
image: Debian 7 (Wheezy) (PVHVM) | |
flavor: 2 GB General Purpose v1 | |
user_data_format: RAW | |
user_data: | | |
#!/bin/bash -x | |
python -m SimpleHTTPServer 80 | |
outputs: | |
private_ip: | |
value: { get_attr: [ instance, networks, { get_param: private_network }, 0] } | |
description: App Node Private IP | |
service_ip: | |
value: { get_attr: [ instance, networks, private, 0] } | |
description: App Node Private IP |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment