-
-
Save venumurthy/4bea30658f9c7c6f8bb9 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 | |
description: Simple template to deploy a single compute instance | |
parameters: | |
key_name: | |
type: string | |
label: Key Name | |
description: Name of key-pair to be used for compute instance | |
image_id: | |
type: string | |
label: Image ID | |
description: Image to be used for compute instance | |
instance_type: | |
type: string | |
label: Instance Type | |
description: Type of instance (flavor) to be used | |
resources: | |
my_instance: | |
type: OS::Nova::Server | |
properties: | |
key_name: { get_param: key_name } | |
image: { get_param: image_id } | |
flavor: { get_param: instance_type } | |
outputs: | |
instance_ip: | |
description: The IP address of the deployed instance | |
value: { get_attr: [my_instance, first_address] } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment