singleton template
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Some stacks benefit from sharing resources. Like security groups.
The user can manually launch the shared stack, then pass the output to each individual stack at launch time.
Alternately, the user can make the individual stack a nested stack of the shared stack, and update it to include more individual stacks as needed, but editing json is much more technically difficult then hitting a few buttons and filling out a few text boxes in dashboard to start a new individual stack.
To be more user friendly, it would be nice to just launch the individual stack and have it create the shared singleton stack if it doesn't already exist, and share the existing singleton if it does. Even nicer would be for it to reference count the singleton and delete it only when the last stack deletes.
In the individual template, it would list the singleton template just like a nested stack, and give is a singleton name. The name would be unique per tenant. You could then use Fn::GetAtt on the singleton to get references and use them in your stack as normal.
Changed in heat: | |
milestone: | none → no-priority-tag-bugs |
This is a feature, could you please raise it as a blueprint?