title: Custom names for resources in cluster created using HEAT templates in Openstack
body: <p>I am trying to create a cluster using Heat Templates of Openstack. I have following template defining my resource group.</p>
  
  <pre><code>cluster:
      type: OS::Heat::ResourceGroup
      properties:
          count: { get_param: instance_count }
          resource_def:
              type: ../templates/vm.yaml
              properties:
                  image: { get_param: image }
                  flavor: { get_param: flavor }
                  private_network : { get_attr : [network, name] }
  </code></pre>
  
  <p>This works, but the name of all these servers is very cryptic. I was wondering if it would be possible to provide a prefix to name to each of the instances.</p>
  
  <p>Or another way could be is I can <code>str_replace</code> a template value with the current index of the cluster count.</p>
  
  <p>Is there a way to achieve this?</p>