Stack Metadata
From: http://
Introduce the concept of _stack_ Metadata, and provide a way to access it in a template (pseudo-parameter?)
Blueprint information
- Status:
- Complete
- Approver:
- Steven Hardy
- Priority:
- High
- Drafter:
- None
- Direction:
- Approved
- Assignee:
- Liang Chen
- Definition:
- Approved
- Series goal:
- Accepted for havana
- Implementation:
- Implemented
- Milestone target:
- 2013.2
- Started by
- Liang Chen
- Completed by
- Liang Chen
Related branches
Related bugs
Sprints
Whiteboard
With further discussion on the mailing list:
http://
Parent resources' Metadata, DeletePolicy, and UpdatePolicy will be accessible to stack resource in a uniform way as below,
{'Fn::
{'Fn::
{'Fn::
*UPDATE*
The merits of using a pseudo-parameter were discussed on the mailing list here:
http://
with a proposal that we use a function along the lines of:
{'Fn:
instead.
---
A provider template will need a way of accessing the following "attributes" (not to be confused with the attributes accessed through Fn::GetAtt) of its parent resource:
* Metadata
* DeletionPolicy
* UpdatePolicy
These should probably be passed to the provider template as parameters, with appropriate namespacing, e.g. OS::Heat::Metadata, OS::Heat:
Gerrit topic: https:/
Addressed by: https:/
implement stack metadata
Work Items
Dependency tree
* Blueprints in grey have been implemented.