(no title)
arrmn | 3 years ago
Terraform helps you to have a unified way to manage your resources, sure the bash scripts works for you, but what happens if you leave the company? Somebody else has to maintain your shell script.
What happens if somebody else is changing the infrastructure and they're not familiar with your shell script, they need time to dig in to figure things out and then update it, and in best case test it.
And you need to keep your scripts up to date, you need to build in fault tolerance, you need to think how you're going to deploy new resources. How are you going to handle destroying resources?
And on top of that you also need to learn the cloud Provider CLI tools or API to know what kind of calls to execute.
It just provides a standardised way to manage your infra.
impoppy|3 years ago
toomuchtodo|3 years ago
(infra engineer in a previous life when Terraform was first released)
arrmn|3 years ago
Now the problem has grown from just write a few lines of bash script to, "create a script that can handle failure and reverts it so a known state", this is a more complex problem than just creating a resource. And now multiply this for all different resources, EC2, AKS, RDS, Security Groups ... and keep up with the API.
And if somebody joins your team, and wants to contribute to the solutions, they're going to have to understand the codebase.
jen20|3 years ago
The reality is infrastructure is commonly in unknown states, whether we like it or not.