Update documentation for path based nested attribute access
Change-Id: I799333a08adeb15dad5397aa67bb014a574acad1 Partial-Bug: #1444286
This commit is contained in:
parent
0a1639a5bc
commit
3333c42d85
@ -138,8 +138,9 @@ To create the stack run:
|
|||||||
|
|
||||||
Get access to nested attributes
|
Get access to nested attributes
|
||||||
===============================
|
===============================
|
||||||
There are implicit attributes of a template resource. These are
|
There are implicit attributes of a template resource. Accessing
|
||||||
accessible as follows:
|
nested attributes require heat_template_version '2014-10-16' or
|
||||||
|
higher and can be accessed as follows:
|
||||||
|
|
||||||
.. code-block:: yaml
|
.. code-block:: yaml
|
||||||
|
|
||||||
|
@ -630,7 +630,9 @@ get_attr
|
|||||||
--------
|
--------
|
||||||
The *get_attr* function allows referencing an attribute of a resource. At
|
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
|
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:
|
The syntax of the get_attr function is as follows:
|
||||||
|
|
||||||
::
|
::
|
||||||
|
Loading…
Reference in New Issue
Block a user