The heat.common.template_format Module

heat.common.template_format.convert_json_to_yaml(json_str)[source]

Convert a string containing the AWS JSON template format to an equivalent string containing the Heat YAML format.

heat.common.template_format.default_for_missing(tpl, version_param, versions)[source]

Checks a parsed template for missing version and sections.

This is currently only applied to YAML templates.

heat.common.template_format.parse(tmpl_str)[source]

Takes a string and returns a dict containing the parsed structure. This includes determination of whether the string is using the JSON or YAML format.

This Page