3 ms·
I have not used Pulumi yet, but if anyone has, I'd be curious to hear a major thing re declarative/procedural (and I'll preface this with that I'm biased toward
by Legogris 7y ago
I have not used Pulumi yet, but if anyone has, I'd be curious to hear a major thing re declarative/procedural (and I'll preface this with that I'm biased towards declarative for IaaC use-cases):
How does it differ from terraform when it comes to modifications and teardowns?
In terraform, I can target a module or resource for destruction, which will tear down the resources targeted and nothing else - esentially the inverse of the application resulting in creation.
How does this work in pulumi?
- jen20 7y agoYou can `pulumi destroy --target <urn>` in the same way as you can target a Terraform destroy. An important thing that is not as well understood about Pulumi as it should be is that it does in fact build a declarative model, but using an imperative language instead of a DSL. Consequently there is not a huge range of difference in what can achieved from the declarative model. Disclaimer: I was a Terraform maintainer for a long time, and also contribute to Pulumi.