Jump to: navigation, search

Heat/flavor input constraint

< Heat
Revision as of 21:34, 23 May 2013 by Randall Burt (talk | contribs) (Created page with "Allow for template authors to declare a constraint on an input/Parameter that restricts input to match an available nova flavor. ===== Example ===== <pre> inputs: flavor: ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Allow for template authors to declare a constraint on an input/Parameter that restricts input to match an available nova flavor.

Example
inputs:
  flavor:
    description: WebServer instance type
    type: String
    default: "m1.large"
    # constraints validate input values prior to provisioning
    constraints:
    - type: nova.FlavorChoice
      description: must be a valid instance type

Depends on Parameter Constraints