Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

interactive autoscaling heat template

My instance heat template has parameters with constraints, so on the UI it displays a dropdown list of choices

flavor:
  type: string
  label: Instance Flaor
  default: m3.medium
  constraints:
    - allowed_values: [ m3.medium, m3.large, m3.xlarge ]

but if I call out that instance heat template on an autoscaling template, it automatically launch it using the "default" values of the parameter. How do I make it a bit more interactive by asking first the values of the parameters before it launch the autoscaling template?

scaleup_group:
  type: OS::Heat::AutoScalingGroup
  properties:
    cooldown: 60
    desired_capacity: 2
    max_size: 5
    min_size: 1
    resource:
      type: http://192.168.0.1/autoscaling/centos.yaml