The spec dictionary was badly indented when templating cluster.yml, because to_nice_yaml does not take into account the initial indentation required. The result would like like this:
spec:
key1: value1
key2: value2
key3: value3
Fix by passing the whole spec key and value into to_nice_yaml. Also set indent parameter to 2 spaces to match the rest of the file.
The spec dictionary was badly indented when templating cluster.yml, because to_nice_yaml does not take into account the initial indentation required. The result would like like this:
Fix by passing the whole spec key and value into to_nice_yaml. Also set indent parameter to 2 spaces to match the rest of the file.