2020-12-11 19:09:25 +01:00
{
2021-09-09 17:25:35 +02:00
"format_version" : "0.1" ,
2020-12-11 19:09:25 +01:00
"valid" : false ,
2021-05-07 18:28:09 +02:00
"error_count" : 1 ,
2020-12-11 19:09:25 +01:00
"warning_count" : 0 ,
"diagnostics" : [
{
"severity" : "error" ,
"summary" : "Duplicate module call" ,
"detail" : "A module call named \"multi_module\" was already defined at testdata/validate-invalid/multiple_modules/main.tf:1,1-22. Module calls must have unique names within a module." ,
"range" : {
"filename" : "testdata/validate-invalid/multiple_modules/main.tf" ,
"start" : {
"line" : 5 ,
"column" : 1 ,
"byte" : 46
} ,
"end" : {
"line" : 5 ,
"column" : 22 ,
"byte" : 67
}
2021-03-11 18:57:07 +01:00
} ,
"snippet" : {
"context" : null ,
"code" : "module \"multi_module\" {" ,
"start_line" : 5 ,
"highlight_start_offset" : 0 ,
"highlight_end_offset" : 21 ,
"values" : [ ]
2020-12-11 19:09:25 +01:00
}
}
]
}