Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I think what you're asking is how to pass parameters to an included sub-template.

When you call the sub-template, add some properties after the type. For instance, modifying your example:

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
      properties:
        flavor: m3.large

Or, of course, you could pass a user-supplied parameter using something like: flavor: {get_param: flavor}