[Openstack] HOT ResourceGroup index referencing with get_attr

Turbo Fredriksson turbo at bayour.com
Sun Mar 12 14:50:43 UTC 2017

On 12 Mar 2017, at 14:03, Lars-Erik Helander <lars-erik.helander at proceranetworks.com> wrote:

> I have also had similar problems with %index% and have resolved these using an additional “child” resource where I use “%index%” as a parameter and within the child resource use { get_attr: [instance, address, index] }

So how do you pass on ‘%index%’ to that child?

Because I still need to “retrieve” the IP with get_attr so I can send it to the child..

Do you have an example I can look at?

More information about the Openstack mailing list