Ask Your Question

Does Heat support Parent-Child Templates ?

asked 2013-08-22 02:57:10 -0500

Bhojaraj gravatar image

updated 2013-09-04 02:50:34 -0500

I have a requirement to call a Heat Template ( Child ) from Another Heat Template ( Parent ).

For the following I am using the below in template:

"Resources" : {

"myStackWithParams" : {
     "Type" : "AWS::CloudFormation::Stack",
     "Properties" : {
         "TemplateURL" : "/home/amdocs/Documents/RunUnixCommandHeat.template"       // Localpath    

In above case getting error i.e IOError: Invalid URL scheme. I tries with file:///home/amdocs/Documents/RunUnixCommandHeat.template as TemplateURL. Getting same error.

Another thing that I tried is access a standard template of Amazon:

"Resources" : {

"myStackWithParams" : {
     "Type" : "AWS::CloudFormation::Stack",
     "Properties" : {
         "TemplateURL" : ""           

This also not working.

As per the link suggested the template must be stored on an Amazon S3 bucket.

Is there any way I can connect to template other than the Amazon one. Can I specify a local heat template file name, what is the url should specified in TemplateURL parameter?

Any tips or suggestion is highly appreciated.

Thanks in Advance for the help.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-10-04 17:47:06 -0500

Steve Baker gravatar image

The http link needs to be to the raw template, not the formatted github webpage. You may have better luck with this URL

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-08-22 02:57:10 -0500

Seen: 705 times

Last updated: Oct 04 '13