Me, together with the team - based on our experiences - are working on a tool that helps create, manage and maintain the CloudFormation templates and stacks built from those.
Here is the tool: https://github.com/appliscale/perun
We are looking for community feedback and validation - comments and ideas are welcome! The same goes with pull-requests. Feel free to share your thoughts and opinions here as well!
Is this something you can get with node anchors?
Great question! I believe you can’t, I’ve tried while ago.
TL;DR: CloudFormation does not support that, see here: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-formats.html - it does not support hash merges, effectively you cannot use anchors.
Working on a tool which is effectively a layer on top of an Amazon service feels like a risky business. If you demonstrate that the need exists, what’s to stop them waking up tomorrow to quickly build an in-house duplicate?
Nothing. ;) If AWS will build something better, that’s a great thing - way to go!
It’s not our primary business. We would love to have such facilities in place already. We build that tool in order to ease the pain regarding maintaining a pile of templates - for our convenience.