Bash script requesting user to select which terraform modules to be executed

Viewed 39

I have many client projects requiring many different resources to be created in the cloud, for example, My client wants to provision resources in AWS, and wants 2 ec2 instances, vpc, subnets, and security groups.

So I want to create a terraform boilerplate and configure/define modules for all services in AWS/Azure/GCP. I want to create a bash script file that requests the user to select which terraform modules (a list of modules will be displayed in the CLI) they want to provision in their cloud. This bash script CLI would increase the user experience rather than having to manually change scripts for every single project I get requiring different resources.

How can I do this? Would be a great help!

0 Answers
Related