Files
opentf/internal/command/jsonentities/testdata/diagnostic/error-with-source-code-subject-and-unknown-string-expression.json
2025-07-14 14:12:03 -03:00

32 lines
643 B
JSON

{
"severity": "error",
"summary": "Wrong noises",
"detail": "Biological sounds are not allowed",
"range": {
"filename": "test.tf",
"start": {
"line": 2,
"column": 9,
"byte": 42
},
"end": {
"line": 2,
"column": 26,
"byte": 59
}
},
"snippet": {
"context": "resource \"test_resource\" \"test\"",
"code": " foo = var.boop[\"hello!\"]",
"start_line": 2,
"highlight_start_offset": 8,
"highlight_end_offset": 25,
"values": [
{
"traversal": "var.boop[\"hello!\"]",
"statement": "is a string, known only after apply"
}
]
}
}