Re:DevOps didn’t exist when I started as a developer
by LIV2 on Friday September 13, 2019 @03:26PM
(#20965482)
Terraform is great but if you want to change to a different cloud provider you pretty much have to rewrite everything
Re:DevOps didn’t exist when I started as a developer
by eropple on Friday September 13, 2019 @03:33PM
(#20965554)
Terraform is okay, if you don't value things like "loops that aren't an awful hack", but in 2019 Pulumi is significantly better and their cloud-agnostic implementation actually kinda works okay.
Re:DevOps didn’t exist when I started as a developer
by ndarwincorn on Friday September 13, 2019 @03:40PM
(#20965628)
We should make an effort to redefine how we use 'infrastructure-as-code', because right now Pulumi/Troposphere/Azure PowerShell and Ansible/Terraform/etc. are indistinguishable when viewed that way, despite the former being much more useful.
Infrastructure-as-verisonable-flat-configuration-files should not be thought of as infrastructure-as-code.
Re:DevOps didn’t exist when I started as a developer
by snlnspc on Friday September 13, 2019 @06:18PM
(#20967231)
Pulumi would be perfect if the community edition was simply self hosted without support vs free with a single user only. At a stingy small org, I have no hope of ever using it instead of simply installing Terraform when the starter edition excludes secrets management and the API.
Re:DevOps didn’t exist when I started as a developer
by eropple on Friday September 13, 2019 @07:15PM
(#20967646)
It's a bit rocky and I've been filing bugs to help, but S3 state support is strictly no worse than Terraform's and supports secrets just fine.
Re:DevOps didn’t exist when I started as a developer
by snlnspc on Friday September 13, 2019 @08:18PM
(#20967988)
That's good to hear! Admittedly the main issue for us is convincing others that 1 user at $50/month is justifiable.
Re:DevOps didn’t exist when I started as a developer
by eropple on Friday September 13, 2019 @08:32PM
(#20968068)
S3 support's free. It definitely works well enough.
Re:DevOps didn’t exist when I started as a developer
by LIV2 on Friday September 13, 2019 @04:40PM
(#20966283)
Haven't heard of Pulumi before your comment but will be sure to check it out now :)
Re:DevOps didn’t exist when I started as a developer
by 0xEFF on Friday September 13, 2019 @04:53PM
(#20966418)
> Terraform is great but if you want to change to a different cloud provider you pretty much have to rewrite everything
While true, the process is closer to a variable name refactor than to a complete re-write. With Terraform, you have the stack described in code and the resource names translate cleanly across cloud vendors. Certainly more so than a word doc describing infrastructure setup steps.
Re:DevOps didn’t exist when I started as a developer
by evv on Friday September 13, 2019 @04:53PM
(#20966425)
Yeah? If you build on top of popular open infra that is hosted by a variety of providers, it shouldn't be too hard. You can build on top of K8s, Postgres, and S3-alike APIs, then use Terraform to move across AWS, GoogleCloud and DO without having to rewrite a thing.
Re:DevOps didn’t exist when I started as a developer
by LargeWu on Friday September 13, 2019 @05:19PM
(#20966701)
You still need to have pretty intimate knowledge of your stack provider though. Terraform is a way to formally express your infrastructure via code, but you still need to know how all of your components need to be configured and wired together. It doesn't give you any of that.
[1]: https://www.terraform.io/