Allow the Resource name to be overridden and paramaterized in ResourceGroups
In order to assist in the supporting of underlying resources spun up by Heat, giving resources created by a resource group human-readable names (including numbering) would be very helpful.
Example: in a HoT, a ResourceGroup is defined to spin up 6 compute instances (e.g. web servers that would sit behind a load balancer). In order to help customer support easily locate those instances in a list, naming them something like this would be helpful:
web01.myawesome
web02.myawesome
web03.myawesome
web04.myawesome
web05.myawesome
web06.myawesome
Allowing the resource name to be overridden in the template and defined with a parameter would allow this. In Python string formatting terms, this would be something like:
for number in range(0, 7):
print "%s%02d%s" % ('web', number, '.myawesomewebs
So, being able to achieve something similar in a template would be very helpful.
It would also be very helpful to be able to then refer to the resource by it's generated resource name elsewhere in the template.
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Paul Nelson
- Direction:
- Needs approval
- Assignee:
- Randall Burt
- Definition:
- Approved
- Series goal:
- None
- Implementation:
- Implemented
- Milestone target:
- next
- Started by
- Randall Burt
- Completed by
- Randall Burt
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Add "index_var" property to the resource group resource
Addressed by: https:/
Parse RST in plug-in class docs