44 lines
1.1 KiB
JSON
44 lines
1.1 KiB
JSON
|
{
|
||
|
"valid": false,
|
||
|
"error_count": 2,
|
||
|
"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
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"severity": "error",
|
||
|
"summary": "Module not installed",
|
||
|
"detail": "This module is not yet installed. Run \"terraform init\" to install all modules required by this configuration.",
|
||
|
"range": {
|
||
|
"filename": "testdata/validate-invalid/multiple_modules/main.tf",
|
||
|
"start": {
|
||
|
"line": 5,
|
||
|
"column": 1,
|
||
|
"byte": 46
|
||
|
},
|
||
|
"end": {
|
||
|
"line": 5,
|
||
|
"column": 22,
|
||
|
"byte": 67
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|