json

JSON object argument to bash script

JSON object argument to bash script

Vikash Kumar

2 minute read

Recently, I was writing a Terraform deployment. I was supposed to pass a JSON object as input to my bash script. Usually, out-of-bound scipt is used when there is no appropriate provider with terraform. These scripts can be in any scripting language supported by terraform. For me, it was bash script. For more details, please read about Terraform External Data Source.