how to display the provider template output in heat client or horizon?
I am using nested templates with autoscale groups and I want to be able to define the autoscale group in a provider template but be able to display the "output" section of that provider template.
IS it possible to pass or the display the output section of the ASG.yaml with heat client and/or Horizon? IS it referenced from top.yaml in the outputs section?
Template example below.
TOP.yaml: - defines router, network and subnet - defines a resource pointing to a provider template, ASG.yaml
code snippet top.yaml
resource:
... shortened
AWE_ASG:
type: "http://192.xxx.xxx.xxx/heat/v1/asg.yaml"
properties:
Private_net_name: { get_param: Private_net_name }
private_net: { get_resource: private_net }
private_subnet: { get_resource: private_subnet }
public_net: 176487e8-d187-4e42-88ff-4f8ec4674c0d
ASG.yaml - defines the Autoscale group - defines the scale up and down policy - defines output section to expose webhook URLs
code snippet asg.yaml
resource:
... shortened
outputs:
scale_up_url:
description: >
This URL is the webhook to scale up the group.
value: {get_attr: [scale_up_policy, alarm_url]}
scale_dn_url:
description: >
This URL is the webhook to scale down the group.
value: {get_attr: [scale_down_policy, alarm_url]}