Skip to content

Instantly share code, notes, and snippets.

@diegows
Last active August 29, 2015 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save diegows/1df600ed741550c86702 to your computer and use it in GitHub Desktop.
Save diegows/1df600ed741550c86702 to your computer and use it in GitHub Desktop.
heat_template_version: 2013-05-23
description: Test Template
parameters:
ImageID:
type: string
description: Image use to boot a server
NetID:
type: string
description: Network ID for the server
resources:
server1:
type: OS::Nova::Server
properties:
name: "Test server"
image: { get_param: ImageID }
flavor: "m1.small"
networks:
- network: { get_param: NetID }
outputs:
server1_private_ip:
description: IP address of the server in the private network
value: { get_attr: [ server1, first_address ] }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment