| To get data in Terraform you have outputs and you can display the data. 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. |