DEV Community

Discussion on: Infrastructure As Code Is Wrong

Collapse
 
stefiix92 profile image
Michal Štefanec

If you want to write your Infrastructure in a Java, you can use Pulumi. That's the difference between declarative and imperative IaC tools. In terraform, you write configurations, because in the end, their engine will transform all configurations to a code and makes your infrastructure look like you have in 'configuration' files. On the other hand, in imperative IaC tools like Pulumi, you need to write step-by-step code, what actually is closer to programming rather than writing desired state in the end.