[Openstack] [Heat] Heat Index Number

Turbo Fredriksson turbo at bayour.com
Sat Aug 20 18:02:14 UTC 2016


On Aug 20, 2016, at 6:30 PM, Brent Troge wrote:

> Is there an internal variable that I can poll to expose the current
> index/interation of a heat stack ?

%index%

But only for ResourceGroups. AutoScalingGroups don't have one :(.

Example:

  name: { list_join: ['-', [ { get_param: 'OS::stack_name' }, 'ldap', "%index%" ] ] }
--
If something's hard to do, then it's not worth doing.
- Homer Simpson





More information about the Openstack mailing list