How to flatten nested Heat templates?
Is there a way to flatten a nested Heat template definition? For example the template at https://github.com/openstack/heat-templates/blob/master/hot/autoscaling.yaml makes a reference to the template https://raw.githubusercontent.com/openstack/heat-templates/master/hot/lb_server.yaml (lb_server.yaml). How does one merge the two in one?
The design is to have templates provided as resource types. Why do you want to merge them?
I was running into an error with a nested Heat template. The error pointed to a line number that did not make sense for the main template and the nested one. I was hoping by merging them I can better troubleshoot. But the issue is resolved now, turned out the nested template could not be accessed.