<div dir="ltr"><div style="font-family:arial,sans-serif;font-size:13px">I am trying to find a way of creating a dynamic List of Loadbalancer PoolMembers using Heat. </div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">The idea is that the number of PoolMembers and the required Addresses would be received as  Heat parameters. </div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">However, I am unable to get %index% working inside a Fn:Select block.</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Is there some other way to get this working with heat ? The constraint is that I cannot use autoscale group and the IP Address and number of Members should come as arguments to the Heat Template.</div><div style="font-family:arial,sans-serif;font-size:13px"> <br></div><div style="font-family:arial,sans-serif;font-size:13px"><div>"Parameters": {</div><div><span style="white-space:pre-wrap">   </span>"NumberOfMembers": {</div><div>            "Description": "Number of Pool Members to be created",</div><div>            "Type": "Number",</div><div><span style="white-space:pre-wrap">  </span>    "Default": 1</div><div>        },</div><div>        "MembersList": {</div><div>            "Description": "Pool Member IP Address",</div><div>            "Type": "Json",</div><div><span style="white-space:pre-wrap"> </span>    "Default": {"key0":"11.0.0.43"}</div><div>        }</div><div>    },</div></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">"MemberList": {<br></div><div style="font-family:arial,sans-serif;font-size:13px">        "Type": "OS::Heat::ResourceGroup",</div><div style="font-family:arial,sans-serif;font-size:13px">        "Properties": {</div><div style="font-family:arial,sans-serif;font-size:13px">          "count": {"Ref":"NumberOfMembers"},</div><div style="font-family:arial,sans-serif;font-size:13px">          "resource_def": {</div><div style="font-family:arial,sans-serif;font-size:13px"><span style="white-space:pre-wrap">    </span>     "type": "OS::Neutron::PoolMember", </div><div style="font-family:arial,sans-serif;font-size:13px"><span style="white-space:pre-wrap">   </span>     "properties": {</div><div style="font-family:arial,sans-serif;font-size:13px"><span style="white-space:pre-wrap">          </span>"address": { "Fn::Select" : [ "key%index%", {"Ref":"MembersList"}] },</div><div style="font-family:arial,sans-serif;font-size:13px">            <span style="white-space:pre-wrap"> </span>"admin_state_up": true,</div><div style="font-family:arial,sans-serif;font-size:13px">            <span style="white-space:pre-wrap">       </span>"pool_id": {"Ref":"HaproxyPool"},</div><div style="font-family:arial,sans-serif;font-size:13px">            <span style="white-space:pre-wrap"> </span>"protocol_port": "80",</div><div style="font-family:arial,sans-serif;font-size:13px"><span style="white-space:pre-wrap"> </span>    <span style="white-space:pre-wrap"> </span>"weight": 1</div><div style="font-family:arial,sans-serif;font-size:13px">          <span style="white-space:pre-wrap">      </span>}</div><div style="font-family:arial,sans-serif;font-size:13px"><span style="white-space:pre-wrap">  </span>     }</div><div style="font-family:arial,sans-serif;font-size:13px">       <span style="white-space:pre-wrap">       </span>  }</div><div style="font-family:arial,sans-serif;font-size:13px">       }</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Regards,</div><div style="font-family:arial,sans-serif;font-size:13px">Magesh</div></div>