I'm interested in transforming from json format to tfvars using jq
, i.e.:
Input:
{
"foo": "aaa",
"bar": "bbb",
}
Desired output:
foo = "aaa"
bar = "bbb"
I tried
echo "{"foo": "aaa","bar": "bbb"}" | jq '.[]'
"aaa"
"bbb"
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…