github.com/iaas-resource-provision/iaas-rpc@v1.0.7-0.20211021023331-ed21f798c408/internal/command/testdata/validate-invalid/multiple_resources/output.json (about) 1 { 2 "format_version": "0.1", 3 "valid": false, 4 "error_count": 1, 5 "warning_count": 0, 6 "diagnostics": [ 7 { 8 "severity": "error", 9 "summary": "Duplicate resource \"aws_instance\" configuration", 10 "detail": "A aws_instance resource named \"web\" was already declared at testdata/validate-invalid/multiple_resources/main.tf:1,1-30. Resource names must be unique per type in each module.", 11 "range": { 12 "filename": "testdata/validate-invalid/multiple_resources/main.tf", 13 "start": { 14 "line": 4, 15 "column": 1, 16 "byte": 35 17 }, 18 "end": { 19 "line": 4, 20 "column": 30, 21 "byte": 64 22 } 23 }, 24 "snippet": { 25 "context": null, 26 "code": "resource \"aws_instance\" \"web\" {", 27 "start_line": 4, 28 "highlight_start_offset": 0, 29 "highlight_end_offset": 29, 30 "values": [] 31 } 32 } 33 ] 34 }