Add information about ResourceGroup attributes

Add info that ResourceGroup get_attr returns list
of attributes, if there's no resource_index.

Change-Id: I184bb142715b29eb770cb88bd60586576ac7bc8f
Partial-bug: #1561157
This commit is contained in:
Peter Razumovsky 2016-04-01 16:55:29 +03:00
parent d07845c2a1
commit f18589261b
1 changed files with 3 additions and 1 deletions

View File

@ -44,7 +44,9 @@ class ResourceGroup(stack_resource.StackResource):
for a single resource in the group, synthetic attributes of the form
`resource.{resource index}.{attribute name}` can be used. The resource ID
of a particular resource in the group can be obtained via the synthetic
attribute `resource.{resource index}`.
attribute `resource.{resource index}`. Note, that if you get attribute
without `{resource index}`, e.g. `[resource, {attribute_name}]`, you'll get
a list of this attribute's value for all resources in group.
While each resource in the group will be identically configured, this
resource does allow for some index-based customization of the properties