[Openstack] HOT syntax for numeric number

jupiter jupiter.hce at gmail.com
Sun Feb 15 23:39:34 UTC 2015


Hi,

According to the heat document, the index can be used in the template:

name: my_server_%index%

How can I add one to the index number? Is following syntax right?


name: my_server_{{ %index% + 1 }}

Thanks.

- j
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150216/ea1519d3/attachment.html>


More information about the Openstack mailing list