mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-04 13:17:43 -06:00
ffe056bacb
This is part of a general effort to move all of Terraform's non-library package surface under internal in order to reinforce that these are for internal use within Terraform only. If you were previously importing packages under this prefix into an external codebase, you could pin to an earlier release tag as an interim solution until you've make a plan to achieve the same functionality some other way.
35 lines
936 B
JSON
35 lines
936 B
JSON
{
|
|
"format_version": "0.1",
|
|
"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
|
|
}
|
|
},
|
|
"snippet": {
|
|
"context": null,
|
|
"code": "resource \"aws_instance\" \"web\" {",
|
|
"start_line": 4,
|
|
"highlight_start_offset": 0,
|
|
"highlight_end_offset": 29,
|
|
"values": []
|
|
}
|
|
}
|
|
]
|
|
}
|