PSArm icon indicating copy to clipboard operation
PSArm copied to clipboard

Make available option to include outputs in root template

Open rdbartram opened this issue 3 years ago • 2 comments

Right now when you use outputs, they are included in nested template but there is seemingly no way to output from the root template so they are available to the process triggering the deployment

rdbartram avatar Apr 01 '21 21:04 rdbartram

Again here I'd like to understand outputs a bit better in the context of nested templates. Do outputs need to just be moved from the child to the parent template, or do they need to be declared in both and propagated through, or do we need to do something cleverer to make individual templates' outputs available in the full nested template?

rjmholt avatar Apr 01 '21 22:04 rjmholt

Right now there is no way to define ouputs at the root level. This is the core problem, I don’t necessarily think they should be automatically exposed to the parent template, although this would be cool. I would accept though being able to define resources in the root template I.e parameters and outputs

rdbartram avatar Apr 01 '21 22:04 rdbartram