Closed dantefromhell closed 7 months ago
When terraform errors output the affected line-of-code the output is highly unreadable as `config.tf.json' is a one-line JSON file.
Since there seems to be no nix expression for pretty printing JSON, this PR uses jq on the command line instead.
jq
The result is that terraform syntax errors output the single affected line-of-code.
Cool!! Thanks!
When terraform errors output the affected line-of-code the output is highly unreadable as `config.tf.json' is a one-line JSON file.
Since there seems to be no nix expression for pretty printing JSON, this PR uses
jq
on the command line instead.The result is that terraform syntax errors output the single affected line-of-code.