Update documentation for path based nested attribute access

Change-Id: I799333a08adeb15dad5397aa67bb014a574acad1
Partial-Bug: #1444286
changes/27/173727/1
Rabi Mishra 8 years ago
parent 0a1639a5bc
commit 3333c42d85
  1. 5
      doc/source/template_guide/composition.rst
  2. 4
      doc/source/template_guide/hot_spec.rst

@ -138,8 +138,9 @@ To create the stack run:
Get access to nested attributes
===============================
There are implicit attributes of a template resource. These are
accessible as follows:
There are implicit attributes of a template resource. Accessing
nested attributes require heat_template_version '2014-10-16' or
higher and can be accessed as follows:
.. code-block:: yaml

@ -630,7 +630,9 @@ get_attr
--------
The *get_attr* function allows referencing an attribute of a resource. At
runtime, it will be resolved to the value of an attribute of a resource instance
created from the respective resource definition of the template.
created from the respective resource definition of the template. Path based
attribute refrencing using keys or indexes requires heat_template_version
'2014-10-16'or higher.
The syntax of the get_attr function is as follows:
::

Loading…
Cancel
Save