You have some extra quotes in there and test1
needs to be ["test1"]
jq ".environments.${Environment_Name} += [\"test1\"]" tmp.json
You have some extra quotes in there and test1
needs to be ["test1"]
jq ".environments.${Environment_Name} += [\"test1\"]" tmp.json