How to flatten nested Heat templates?

asked 2014-08-13 17:37:23 -0600

vahidh gravatar image

Is there a way to flatten a nested Heat template definition? For example the template at makes a reference to the template (lb_server.yaml). How does one merge the two in one?

edit retag flag offensive close merge delete


The design is to have templates provided as resource types. Why do you want to merge them?

Qiming gravatar imageQiming ( 2014-08-20 07:11:26 -0600 )edit

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.

vahidh gravatar imagevahidh ( 2014-08-26 10:48:21 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-08-05 19:30:29 -0600

asalkeld gravatar image


heat help resource-list 
usage: heat resource-list [-n <DEPTH>] <NAME or ID>

Show list of resources belonging to a stack.

Positional arguments:
  <NAME or ID>          Name or ID of stack to show the resources for.

Optional arguments:
-n <DEPTH>, --nested-depth <DEPTH>
                    Depth of nested stacks from which to display


heat resource-list <stack name> -n 3
edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-08-13 17:37:23 -0600

Seen: 1,117 times

Last updated: Aug 05 '15