5 ms·
I have been using more and more of https://www.pulumi.com/ https://www.pulumi.com/ for my deployments. It’s nice that the deployment code is written in js/pytho
by nerdbaggy 6y ago
I have been using more and more of https://www.pulumi.com/ https://www.pulumi.com/ for my deployments. It’s nice that the deployment code is written in js/python/go/.net so I can make it as customizable as I want.
- diveanon 6y agoI agree, I'm using pulumi with ts and it's pretty great to be able to develop / test my deployment pipeline using the same tools as my core services.
- nunez 6y agoSeconded. Pulumi is great.
- thayne 6y agoI'm seriously considering switching to pulumi, mostly because it seems a lot more flexible. Not to mention that developers are already familiar with the language rather than having to learn all the quirks and inconsistencies of hcl on top of using the tool itself
- nerdbaggy 6y agoYup that is why we use it. And it’s great since anything can be a data source
- chucky_z 6y agotry out https://github.com/hashicorp/terraform-cdk https://github.com/hashicorp/terraform-cdk i've had success with it thus far. i'm mostly using mainstream providers at this point though.
- macca321 6y agoIn a polyglot shop, it can actually be quite handy that HCL is it's own relatively simple language.
- thayne 6y agoFrom my ~1 year of experience with terraform, the simplicity of HCL leads to some pretty complicated config. In particular the absence of a true if, and the inability to define custom functions, or use any kind of condition or iteration on modules.
- Aeolun 6y agoI cannot recommend Pulumi enough. Terraform was a huge step up from Ansible, and Pulumi is the same step up from Terraform. Writing a for loop to provision multiple machines just feels incredibly natural.
- stevekemp 6y agoI keep seeing this popup in search results, and I'm curious to try it in anger. I've recently switched roles, and have gone from sharing a pretty large terraform deployment on AWS/GCP to managing infrastructure written with cloudformation and troposphere. (Trophosphere is a python library that generates cloudformation templates. Nice to have a real programming language, but still pretty constrained by the fact that the output is "just" cloudformation.) Of the two I have had less pain with terraform, but both have caused their days of pain in different ways.
- 7sigma 6y agoSame here, at my previous work, they used python to generate terraform hcl. I told them you might as well use pulumi
- je42 6y agoyup. pulumi has much more same syntax and management. however, some parts still use terraform underneath. if stuff doesnt work - i sometimes find myself on terraform docs/code. but all in all a good trade off for me compared to pure terraform.
- jen20 6y agoTo clarify, Pulumi does not use Terraform - it simply uses the CRUD operations from some Terraform providers. The core of Terraform is not involved.
- michaelmcmillan 6y agoTerraform has released something very similar, but not stable yet: https://www.hashicorp.com/blog/cdk-for-terraform-enabling-python-and-typescript-support https://www.hashicorp.com/blog/cdk-for-terraform-enabling-py...