This Blueprint proposes to add type field to attribute schema.
Currently there is no way to find out what is the type of attribute returned by the get_attr function. This makes it difficult for the template authors to figure out what type of value will be returned. Indexing and Mapping on the attributes also becomes an issue without the knowledge of the attribute type.
The changes will be made in each resource plugin to add type field in the attribute schema. Type can be a String, Map or List. This will also generate the docs telling the users what type of value to expect from get_attr.