Heat::ResourceGroup [closed]
Hi
I have been using HEAT template to create 3 servers and it works just fine
Example:
ALIS-MF-01:
type: OS::Nova::Server
properties:
name: ALIS-MF-01
…
template: {get_file: alis-mf-script.sh }
params:
…
$alis_mf_hostname: { get_param: alis_mf_01_hostname }
...
ALIS-MF-02:
type: OS::Nova::Server
properties:
name: ALIS-MF-02
…
template: {get_file: alis-mf-script.sh }
params:
…
$alis_mf_hostname: { get_param: alis_mf_02_hostname }
...
ALIS-MF-03:
type: OS::Nova::Server
properties:
name: ALIS-MF-03
…
template: {get_file: alis-mf-script.sh }
params:
…
$alis_mf_hostname: { get_param: alis_mf_03_hostname }
...
Which as I said works just fine. Note: alis_mf_01_hostname, alis_mf_02_hostname and alis_mf_03_hostname are provided by my environment file
Now I would like to use Heat::ResourceGroup
alis_af_rg:
type: OS::Heat::ResourceGroup
properties:
count: { get_param: alis_af_count }
resource_def:
type: aqsa_alis_af.yaml
properties:
…
alis_mf_hostname: { get_param: alis_mf_hostname }
The question is, before using Nova:Server, I could distinct the hostname as I was creating 3 different instances (alis_mf_01_hostname, alis_mf_02_hostname and alis_mf_03_hostname)
How can I provide a different hostname using ResourceGroup?
Anybody please?
Just for the story: I already did my research here and couldn't any clue.