[Openstack] How to reference one template from another
Mike Spreitzer
mspreitz at us.ibm.com
Mon Jun 2 21:55:45 UTC 2014
Steven Hardy <shardy at redhat.com> wrote on 06/02/2014 04:19:45 PM:
> From: Steven Hardy <shardy at redhat.com>
> To: Mike Spreitzer/Watson/IBM at IBMUS,
> Cc: "openstack at lists.openstack.org" <openstack at lists.openstack.org>
> Date: 06/02/2014 04:19 PM
> Subject: Re: [Openstack] How to reference one template from another
>
> Hi Mike,
>
> On Mon, Jun 02, 2014 at 03:13:07PM -0400, Mike Spreitzer wrote:
> > In a file directory I have Heat Orchestration Template A.yaml,
which
> > includes a resource named N of type AWS::CloudFormation::Stack,for
which
> > I want to use the Heat Orchestration Template in file B.yaml (in
the same
> > directory). What do I write in the properties of N, and in the
`heat
> > stack-create` command line, to make this work?
>
> This is one of the drawbacks of the AWS-compatible interface to nested
> stacks, it requires a URL not a local file, so basically you can't.
>
> I would reccomend using one of the native interfaces to nested stacks
> instead:
>
> 1. untyped nested stack
>
> resources:
> instance:
> type: b.yaml
> properties:
> <properties are the parameters defined in b.yaml
>
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 http://docs.openstack.org/developer/heat/template_guide/ ---
am I missing something?
Thanks,
Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140602/1828cc7a/attachment.html>
More information about the Openstack
mailing list