I need to read these bash variables into my JSON string and I am not familiar with bash. any help is appreciated.
#!/bin/sh BUCKET_NAME=testbucket OBJECT_N
can be done following way:
JSON_STRING='{"bucketname":"'$BUCKET_NAME'","objectname":"'$OBJECT_NAME'","targetlocation":"'$TARGET_LOCATION'"}'