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:
parent
2b47927d05
commit
15ab4c13a7
@ -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]}
|
||||
|
Loading…
x
Reference in New Issue
Block a user