6 ms·
Yes, Pulumi is nouns not verbs. It is declarative. Like Terraform, you're not saying: "make me an virtual machine," you're saying, "this virtual machine", which
by rektide 4y ago
Yes, Pulumi is nouns not verbs. It is declarative. Like Terraform, you're not saying: "make me an virtual machine," you're saying, "this virtual machine", which gets created if needed.
But like Terraform can be if you start importing data-sources, Pulumi can get dynamic. Your Pulumi code might have some actions/verbs it does to figure out what to write. You might slip up one day and get a little bit pregnant. Oops I mean get a little bit imperative. In Terraform, these external dependencies are declared, are declarative style, but they carry the risk of imperativeness, in that they don't have idempotency, they don't clearly delineate what is expected: they're commands-as-structures, actions-as-structures, executed via higher level systems.
Pulumi might not be imperative, but there's less clear lines (unlike an explicit Terraform data-source) & it's less clear when you get a little bit imperative.