| { |
| "format_version": "1.0", |
| "valid": false, |
| "error_count": 1, |
| "warning_count": 0, |
| "diagnostics": [ |
| { |
| "severity": "error", |
| "summary": "Duplicate import configuration for \"aws_instance.web\"", |
| "detail": "An import block for the resource \"aws_instance.web\" was already declared at testdata/validate-invalid/duplicate_import_targets/main.tf:4,1-7. A resource can have only one import block.", |
| "range": { |
| "filename": "testdata/validate-invalid/duplicate_import_targets/main.tf", |
| "start": { |
| "line": 9, |
| "column": 1, |
| "byte": 85 |
| }, |
| "end": { |
| "line": 9, |
| "column": 7, |
| "byte": 91 |
| } |
| }, |
| "snippet": { |
| "context": null, |
| "code": "import {", |
| "start_line": 9, |
| "highlight_start_offset": 0, |
| "highlight_end_offset": 6, |
| "values": [] |
| } |
| } |
| ] |
| } |