terraform/internal/command/views/json/testdata/diagnostic/error-with-source-code-subj...

27 lines
531 B
JSON

{
"severity": "error",
"summary": "Tiny explosion",
"detail": "Unexpected detonation while parsing",
"range": {
"filename": "test.tf",
"start": {
"line": 1,
"column": 10,
"byte": 9
},
"end": {
"line": 1,
"column": 25,
"byte": 24
}
},
"snippet": {
"context": "resource \"test_resource\" \"test\"",
"code": "resource \"test_resource\" \"test\" {",
"start_line": 1,
"highlight_start_offset": 9,
"highlight_end_offset": 24,
"values": []
}
}