Steven Hardy <[email protected]> wrote on 06/02/2014 04:19:45 PM:
> From: Steven Hardy <[email protected]>
> To: Mike Spreitzer/Watson/IBM@IBMUS,
> Cc: "[email protected]" <[email protected]>
> 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
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack