Hacker News new | ask | show | jobs
by woeirua 679 days ago
CDK lets you write Python instead of configuration files. It’s a good idea, but hobbled by CF being a steaming pile of garbage underneath it. TF was building a CDK competitor a while back but progress was slow on it.
2 comments

I noticed TF has JS examples in the docs now. I haven’t looked but if it has the same problem as CDK, where you have to shoehorn declarative concepts into an imperative language, you still end up having to write weird code to work around the fact that you don’t actually know the value of resources until they’ve been created or modified.

Now if there was a prolog version? I’ll have some of that.

You still need to run a JS environment even if your own CDK code is in Python. At that point you may as well just use JS if you're going to have to put up with its drawbacks anyway.