Help Center > > FAQs> What May Cause a Syntax Check Failure?

What May Cause a Syntax Check Failure?

Updated at: Jun 17, 2019 GMT+08:00

If a syntax check on your template fails, check the following items:

  • Format

    The template must comply with the YAML format and can be parsed by the program language.

  • Template Version (heat_template_version)

    Each template has a version. The template version must be any of 2013-05-23, 2014-10-16, 2015-04-30, 2015-10-15, and 2016-04-08.

  • Parameters

    Check whether the parameter definition meets requirements. For details, see Resource Type Reference.

  • Resources

    type must be configured in resource and its value must be a string. If an unsupported resource is defined in the template, the syntax check also fails.

  • Outputs

    If outputs are defined, field value must be defined in the outputs.

  • Template Size

    The size of a template cannot be greater than 80 KB.

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?

Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel