4 ms·
If you love terraform, please also look at Pulumi (I have no affiliation with them). https://pulumi.io/reference/vs/terraform.html https://pulumi.io/reference/
by kkapelon 7y ago
If you love terraform, please also look at Pulumi (I have no affiliation with them).
https://pulumi.io/reference/vs/terraform.html https://pulumi.io/reference/vs/terraform.html
https://github.com/pulumi/tf2pulumi https://github.com/pulumi/tf2pulumi
- vegardx 7y agoI see there's a way to not use the hosted service for storing state files, but how do you address things like locking in Pulumi?
- kkapelon 7y agoI haven't used that scenario, but you are responsible for locking. I guess if you use S3 or something similar to store/retrieve state you can easily make it work.
- doliveira 7y agoHonestly I like the idea of using declarative code for infra stuff because this way it becomes an inventory-like configuration language. There is a reason why YAML dominates today.
- kkapelon 7y agoTerraform does not use YAML. And in the last updates they try to make their HCL more "programming language like". Pulumi is already there (they are using an actual programming language)
- doliveira 7y agoOf course Terraform does not use YAML. I mean that YAML or other approaches like HCL allow for a declarative style while maintaining some constructions like for-loops or conditionals. Having your infrastructure in an inventory-like codebase makes it clearer to reason about. It can't go too crazy like most programs end up like
- antics 7y agoPulumi is declarative. You can't tell Pulumi what to do, you can only tell it what you want. (Disclosure: I work on Pulumi.)