Skip to content

Instantly share code, notes, and snippets.

@jpacora
Created September 1, 2015 07:37
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 jpacora/49e519a1fb909fe46ab3 to your computer and use it in GitHub Desktop.
Save jpacora/49e519a1fb909fe46ab3 to your computer and use it in GitHub Desktop.
heat_template_version: 2013-05-23
description: >
This template deploys a single server.
This template is from the "Introduction to Heat" RDO hangout:
https://plus.google.com/events/c9u4sjn7ksb8jrmma7vd25aok94
parameters:
image:
type: string
default: cirros
network_id:
type: string
default: de76f1f3-a6e5-4b0b-842f-0f9b6f5797a1
resources:
my_server:
type: "OS::Nova::Server"
properties:
image: {get_param: image}
flavor: m1.small
networks:
- network: {get_param: network_id}
outputs:
server_ip:
description: fixed ip assigned to the server
value: { get_attr: [my_server, first_address] }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment