https://pulumi.com logo
#general
Title
# general
n

nutritious-airline-70839

12/06/2019, 10:11 AM
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

broad-dog-22463

12/06/2019, 10:15 AM
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

quiet-tomato-48326

12/06/2019, 10:20 AM
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

nutritious-airline-70839

12/06/2019, 10:57 AM
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

quiet-tomato-48326

12/06/2019, 11:04 AM
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

nutritious-airline-70839

12/06/2019, 11:13 AM
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

little-energy-64187

12/06/2019, 1:26 PM
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

nutritious-airline-70839

12/06/2019, 1:32 PM
You're right Peter! The typechecking is really horrible in python, but totally awesome in typescript!
g

gorgeous-egg-16927

12/06/2019, 4:18 PM
You might also be interested in this docs page: https://www.pulumi.com/docs/intro/vs/terraform/
n

nutritious-airline-70839

12/09/2019, 7:35 AM
yeah @gorgeous-egg-16927, saw that one, thanks!