github.com/graywolf-at-work-2/terraform-vendor@v1.4.5/internal/command/testdata/validate-invalid/output.json (about) 1 { 2 "format_version": "1.0", 3 "valid": false, 4 "error_count": 1, 5 "warning_count": 0, 6 "diagnostics": [ 7 { 8 "severity": "error", 9 "summary": "Unsupported block type", 10 "detail": "Blocks of type \"resorce\" are not expected here. Did you mean \"resource\"?", 11 "range": { 12 "filename": "testdata/validate-invalid/main.tf", 13 "start": { 14 "line": 1, 15 "column": 1, 16 "byte": 0 17 }, 18 "end": { 19 "line": 1, 20 "column": 8, 21 "byte": 7 22 } 23 }, 24 "snippet": { 25 "context": null, 26 "code": "resorce \"test_instance\" \"foo\" { # Intentional typo to test error reporting", 27 "start_line": 1, 28 "highlight_start_offset": 0, 29 "highlight_end_offset": 7, 30 "values": [] 31 } 32 } 33 ] 34 }