openstack heat模板的整体结构
openstack的heat模板给予YAML语言进行编写,基本结构如下:
heat_template_version: 2016-10-14
description:
# a description of the template
parameter_groups:
# a declaration of input parameter groups and order
parameters:
# declaration of input parameters
resources:
# declaration of template resources
outputs:
# declaration of output parameters
conditions:
# declaration of conditions
其中heat_template_version不同的版本,支持参数不同:
版本列表如下
parameters 在命令行中,可通过-P <KEY1=VALUE1;KEY2=VALUE2...>传入