Hacker News new | ask | show | jobs
by satya71 1898 days ago
Can second that. Pulumi with Typescript is just absolutely awesome.
2 comments

I don’t get why people like scripting it, declarative is fantastically simple. I don’t want to trace through loops, if statements, functions It does from these files declare my infra to these scripts when parser thru define my infer

I get Logic in yaml/json is less ergonomic but templing makes us for it

I suspect you haven't tried Pulumi. It is declarative. Sometimes I just want to generate the declarations rather than type them out by hand.
I was more replying to those saying these products now offer a typescript feature
It's probably good when you are already using Typescripts in other parts of your day job. While I like the idea of using a real programming language in place of a declarative DSL you trade in the awkward parts of the latter with the idiosyncrasies of async programming and promises.
I specifically chose Typescript for my IAC because of the outstanding static typing among all scripting languages.