Skip to content

Instantly share code, notes, and snippets.

@jpacora jpacora/stack.yaml
Created Sep 1, 2015

Embed
What would you like to do?
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
You can’t perform that action at this time.