Hi all! I'm looking for a infra-as-code tool. Afte...
# general
n
Hi all! I'm looking for a infra-as-code tool. After a 2-week research my top two are terraform and pulumi and it's very close šŸ˜‰ Have you tried terraform? Why do you use pulumi and not terraform?
b
What do you want from your tool?
Do you want to use DSLs or read code?
Also do you value higher level abstractions around your infra? e.g. aws crosswalk or kubernetes crosswalk
q
I use both, and they're very similar. ā€¢ The main advantage of pulumi is the rest of my team uses typescript, so it's less of a shock for them to pick up pulumi. ā€¢ It's also way easier to do loops/conditionals etc in pulumi. Still possible in terraform, but easier in pulumi. ā€¢ I also quite like the pulumi crosswalk abstractions --- they're great for trying out unfamiliar platforms, since they provide a good starting point. (Similar things exist for terraform, but they're not as easy to find).
n
Okay, thanks guys! Language is not a problem here. Definitely don't want my team to use both šŸ™‚ Will check out the crosswalk in typescript - tried python pulumi which doesn't have it. Hope that will be the final item on Pros list šŸ˜‰ Main question šŸ˜ƒ for @quiet-tomato-48326: why do you use terraform then?
q
I've used it for years so it's very familiar. šŸ™‚
ā€¢ I also quite like the language, it's a lot better than YAML ā€¢ It's easy to create reusable modules/templates ā€¢ The documentation seems nicer in terraform (though that may just be because I've used it longer)
n
Okay, all makes sense. And yeah, terraform doc seems to be way ahead of pulumi... But that's something that will surely improve here over time šŸ˜‰
l
afaik most pulumi providers are 1-1 with the terraform providers and using terraform under the hood, so it's mostly the friendly language and typechecking
n
You're right Peter! The typechecking is really horrible in python, but totally awesome in typescript!
g
You might also be interested in this docs page: https://www.pulumi.com/docs/intro/vs/terraform/
n
yeah @gorgeous-egg-16927, saw that one, thanks!