- HDI cluster on template2:-
template.json parameters.sjon deploy.sh
- Azure VM on template1:-
template.json parameters.sjon deploy.sh
I am able to deploy 1 and 2 separately without any issues.
- Now I want to get the HDI cluster headnode IP and use in property file on Azure VM.
How can I achieve 3 and deploy 1,2,3 in an order at one go?
Advertisement
Answer
According to your scenario, you could use the following steps.
1.Deploy template 2.
2.After template 2 deploy successful, get parameters you want from HDI cluster and pass parameters to template 1.
3.Deploy template 1.
Note: If you want to use this way, your template should have different name.