Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Get output from sub template

Using template composition, is it possible to get the value of an output from a sub-template in the parent template? I need this to keep repetition of template code to a minimum.

e.g.

sub_template.yaml:

outputs:
  some_output:
    value: 123

parent_template.yaml:

outputs:
  some_output:
    value: I want to output the value of some_output from subtemplate here.

Thanks.