Revision history [back]

I found the answer with some lateral thinking ( and looking at the code ).

Anything defined in an 'outputs' section can be referenced as an 'attribute' of the provider (resource) instance created. Using my example above with the outputs being 'scale_up_url' and 'scale_dn_url' defined in the asg.yaml provider template. The top.yaml file should include in the outputs section references to the the provider stack resource with the name of the output ('scale_up_url' and 'scale_dn_url').

top.yaml

outputs:
  scale_up_url:
    description: >
      This URL is the webhook to scale up the group. 
    value: {get_attr: [AWE_ASG, scale_up_url]}
  scale_dn_url:
    description: >
      This URL is the webhook to scale down the group.  
    value: {get_attr: [AWE_ASG, scale_dn_url]}