Automation Heat Template

OpenStack Heat templates are used for orchestration of cloud applications.

Heat orchestration templates are written in YAML.

Murano applications are associated with Heat Orchestration Templates.

The Heat Orchestration format is as follows.

heat_template_version: <version date in yyyy-mm-dd format>

description:
  #a description of the template
 #add at least one meaningful line that describes what the user can do with the template

parameter_groups:
  #a declaration of input parameter groups and order
  #specify how the input parameters should be grouped and the order in which the parameters must be provided.
  #section is optional and can be omitted when it is not required.

parameters:
  #declaration of input parameters
  #input parameters that have to be provided when instantiating the template
  #the section is optional and can be omitted when no input is required
  #use of parameterized values instead of hard-coded values makes the template reusable.
  #default values for input parameters can be provided

resources:
  #declaration of template resources
 #the resources section is required and must contain at least one resource definition.

outputs:
  #declaration of output parameters
  #output parameters available to users once the template has been instantiated.
  #the section is optional and can be omitted when no output values are required.
  #use the section to provide output to users.

conditions:
  #declaration of conditions
  #include statements that can be used to restrict when a resource is created or when a property is defined

Following is an example of a Heat Orchestration Template.

Refer to OpenStack’s Heat Orchestration Template (HOT) Guidearrow-up-right for a detailed explanation about the structure of a Heat template.

Last updated

Was this helpful?