Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- heat_template_version: 2015-04-30
- description: Simple template to deploy a single compute instance
- parameters:
- key_name:
- type: string
- description: Name of an existing KeyPair to enable SSH access to the instances
- default: id_rsa
- constraints:
- - custom_constraint: nova.keypair
- description: Must already exist on your cloud
- flavor:
- type: string
- description: The flavor the application is to use
- constraints:
- - custom_constraint: nova.flavor
- description: Must be a valid flavor provided by your cloud provider.
- image_id:
- type: string
- description: ID of the image to use to create the instance
- constraints:
- - custom_constraint: glance.image
- description: Must be a valid image on your cloud
- faafo_source:
- type: string
- description: The http location of the faafo application install script
- default: https://git.openstack.org/cgit/openstack/faafo/plain/contrib/install.sh
- resources:
- my_instance:
- type: OS::Nova::Server
- properties:
- key_name: { get_param: key_name }
- image: { get_param: image_id }
- flavor: { get_param: flavor }
- name: https://pastebin.com/raw/hVbif6z9
- user_data:
- get_file: https://pastebin.com/raw/hVbif6z9
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement