Add ResourceGroup attribute example for all values

Adds an example showing how to get a list of all values
for an attribute of the resource in the group.  Related
to a question asked on IRC recently.

Change-Id: I106b66e94916464724295e79b90ef7ee5910a1b4
This commit is contained in:
Steven Hardy 2014-10-16 12:07:00 +01:00
parent 2b47927d05
commit 15ab4c13a7

View File

@ -22,3 +22,6 @@ outputs:
value: {get_attr: [random_group, resource.0.value]}
resource2_value:
value: {get_attr: [random_group, resource.1.value]}
# You can also get a list of all values in the group
all_values:
value: {get_attr: [random_group, value]}