1. 5

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!

  1.  

  2. 2

    Endless repetitions – we need to repeat constantly when writing it. It is error-prone as well as hard to maintain. YAML and JSON flavors do not support any fragments or smaller templating engine, so it is difficult to reuse and work in line with DRY (don’t repeat yourself) principle.

    Is this something you can get with node anchors?

    1. 1

      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.

    2. 2

      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?

      1. 2

        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.