Attribute Type in schema

This Blueprint proposes to add type field to attribute schema.

Problem description

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.

Proposed change

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.





Primary assignee:
ishant-tyagi rakesh_hs


Target Milestone for completion:

Work Items

  • Add type field in schema of each resource plugin.



Table Of Contents

Previous topic

Support to generate hot templates based on the specified type

Next topic

Uniform Resource Signals

Project Source

This Page