Versioning

A mechanism for specifying the DSL version used in the blueprint.



tosca_definitions_version is a top level property of the blueprint which is used to specify the DSL version used. For Cloudify 3.1, the only version that is currently defined is cloudify_dsl_1_0.

The version declaration must be included in the main blueprint file. It may also be included in YAML files that are imported in it (transitively), in which case, the version specified in the imported YAMLs must match the version specified in the main blueprint file.

In future Cloudify versions, as the DSL specification evolves, this mechanism will enable providing backward compatibility for blueprints written in older versions.


Example:

tosca_definitions_version: cloudify_dsl_1_0

node_templates:
    ...