{ "valid": false, "error_count": 1, "warning_count": 0, "diagnostics": [ { "severity": "error", "summary": "Invalid reference", "detail": "A reference to a resource type must be followed by at least one attribute access, specifying the resource name.", "range": { "filename": "testdata/validate-invalid/missing_quote/main.tf", "start": { "line": 6, "column": 14, "byte": 110 }, "end": { "line": 6, "column": 18, "byte": 114 } }, "snippet": { "context": "resource \"test_instance\" \"foo\"", "code": " name = test", "start_line": 6, "highlight_start_offset": 13, "highlight_end_offset": 17, "values": [] } } ] }