3 ms·
I'm training on AWS and part of an AWS infra team - but we use Terraform partially because we intend to have production support at our company for all three big
by unethical_ban 6y ago
I'm training on AWS and part of an AWS infra team - but we use Terraform partially because we intend to have production support at our company for all three big US clouds, and want the IaC layer to be uniform.
I get that there are times to dive all the way in, but there is still a part of me that says "Is this what the Internet is now?"
- scarface74 6y agoYou have looked at the provisioners for the different providers haven’t you? Terraform in no way provides you an abstraction layer over the different cloud providers.
- cure 6y agoThat is correct; I've always found it a missed opportunity in Terraform. I still like it a lot as a tool. A unified abstraction layer would certainly work for a subset of cloud offerings. Think the more basic stuff like EC2, VPCs, etc. Platform specific extensions could be handled as optional arguments to the unified objects. That said, even though you need custom Terraform definitions for each cloud vendor, using one IaC tool still beats having to use a cloud-specific one for each of your deployments. The parent's point stands.
- unethical_ban 6y agoLearning terraform for the various providers = learning the different syntaxes and design philosophies of different python libraries. Learning the different IaC tools for each provider = Learning Python, Javascript, and PHP. Also, Terraform does state management and can be used to package deployments of apps to different platforms. Our IaC pipeline uses Terraform to deploy resources to AWS and several other cloud toolsets, all in one language.
- scarface74 6y agoThe provisioners are the easy part - understanding the ecosystem and how the different parts of the cloud providers relate is the harder part. I routinely go back and forth between C#, Python and JavaScript using the official AWS SDKs and I understand how to accomplish what I need in either language. Using those same languages, I wouldn’t know where to start with Azure or GCP. Using Terraform vs CF is easy compared to using AWS vs Azure.