Get output from sub template

asked 2016-02-23 10:28:51 -0600

krimson gravatar image

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.

edit retag flag offensive close merge delete