terraform/command/testdata/validate-invalid/multiple_resources/output.json

26 lines
682 B
JSON
Raw Normal View History

{
"valid": false,
"error_count": 1,
"warning_count": 0,
"diagnostics": [
{
"severity": "error",
"summary": "Duplicate resource \"aws_instance\" configuration",
"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.",
"range": {
"filename": "testdata/validate-invalid/multiple_resources/main.tf",
"start": {
"line": 4,
"column": 1,
"byte": 35
},
"end": {
"line": 4,
"column": 30,
"byte": 64
}
}
}
]
}