<tt><font size=2>Steven Hardy <shardy@redhat.com> wrote on 06/02/2014
04:19:45 PM:<br>
<br>
> From: Steven Hardy <shardy@redhat.com></font></tt>
<br><tt><font size=2>> To: Mike Spreitzer/Watson/IBM@IBMUS, </font></tt>
<br><tt><font size=2>> Cc: "openstack@lists.openstack.org"
<openstack@lists.openstack.org></font></tt>
<br><tt><font size=2>> Date: 06/02/2014 04:19 PM</font></tt>
<br><tt><font size=2>> Subject: Re: [Openstack] How to reference one
template from another</font></tt>
<br><tt><font size=2>> <br>
> Hi Mike,<br>
> <br>
> On Mon, Jun 02, 2014 at 03:13:07PM -0400, Mike Spreitzer wrote:<br>
> > In a file directory I have Heat Orchestration Template
A.yaml, which<br>
> > includes a resource named N of type AWS::CloudFormation::Stack,for
which<br>
> > I want to use the Heat Orchestration Template in
file B.yaml (in the same<br>
> > directory). What do I write in the properties
of N, and in the `heat<br>
> > stack-create` command line, to make this work?<br>
> <br>
> This is one of the drawbacks of the AWS-compatible interface to nested<br>
> stacks, it requires a URL not a local file, so basically you can't.<br>
> <br>
> I would reccomend using one of the native interfaces to nested stacks<br>
> instead:<br>
> <br>
> 1. untyped nested stack<br>
> <br>
> resources:<br>
> instance:<br>
> type: b.yaml<br>
> properties:<br>
> <properties are the parameters defined
in b.yaml<br>
> <br>
</font></tt>
<br><tt><font size=2>Thanks, that's a great answer --- simple and direct.
Now that you mention it, I think I have heard it mentioned before.
But I do not see it documented in </font></tt><a href=http://docs.openstack.org/developer/heat/template_guide/><tt><font size=2>http://docs.openstack.org/developer/heat/template_guide/</font></tt></a><tt><font size=2>
--- am I missing something?</font></tt>
<br>
<br><tt><font size=2>Thanks,</font></tt>
<br><tt><font size=2>Mike</font></tt>