What is the best way to use template composition with heat interface ?

asked 2015-10-16 08:39:53 -0600

matthieu jacquart gravatar image

Heat interface doesn't allow to load severals files. What is the best way to expose a composed template ? At now, I use http server.

edit retag flag offensive close merge delete



Using the dashboard or the CLI ?

Using the dashboard I upload the other yaml files to a web server (GitHub, in my case) and then use the URL to call them. Using the CLI is easier, you only need to put the files in the same directory of the main yaml.

herrsergio gravatar imageherrsergio ( 2015-10-19 11:34:40 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2016-02-01 12:02:27 -0600

zaneb gravatar image

Heat actually does support loading multiple files, with the additional ones included under the "files" key in the API: http://developer.openstack.org/api-re...

The Heat client will automatically include any files referenced in the template in this section when you create/update the stack. So if you're using the CLI client then it is probably doing this already with the files from your webserver, and nothing would change if you just changed them to local (file:///) URLs.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-10-16 08:39:53 -0600

Seen: 225 times

Last updated: Feb 01 '16