Hacker News new | ask | show | jobs
by bradknowles 2972 days ago
Well, cfndsl allows us to write our cloudformation templates in YAML instead of JSON. Those can also get easily checked into git.

We are also trying out some stuff with serverless.

But we are an AWS-only shop, so terraform and other cross-cloud tools are not of interest. And we are also not interested in anything that can’t take full advantage of everything AWS offers.

And we are particularly uninterested in anything based on kubernetes.

1 comments

CloudFormation supports YAML templates out of the box: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGui...

It's way nicer than JSON, especially w.r.t. functions. It's also compatible, so you can load JSON templates into e.g. a Python script and serialize them to YAML. I did this to all our templates pretty much as soon as it came out.

I have used cfndsl and loath it. If I need more complex variables than CloudFormation supports, I rather use a simple templating engine like Jinja2 or ERB than a Ruby-based DSL.