json parameters require json strings rather than accepting arbitrary json structures
Bug #1342487 reported by
Robert Collins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
High
|
Ryan Brown |
Bug Description
e.g. if I have a json parameter foo , in my env file I can do:
Parameters:
foo: "[ \" A JSON list \" ]"
but not
Parameters:
foo:
- A JSON list
Confusingly, I can do:
Parameters:
foo:
bar:
- A list in an object.
Changed in heat: | |
assignee: | nobody → Ryan Brown (sb-p) |
Changed in heat: | |
status: | Triaged → In Progress |
Changed in heat: | |
milestone: | none → juno-3 |
Changed in heat: | |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | juno-3 → 2014.2 |
To post a comment you must log in.
Workaround for now:
{Fn::Select: [bar, {Ref: foo}]}
This should be an easy fix, but we also really need to switch provider templates over to using the Json parameter type for lists, preferably without breaking any existing templates.