mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-01-05 13:00:26 -05:00
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.
61 lines
1.4 KiB
JSON
61 lines
1.4 KiB
JSON
{
|
|
"format_version": "0.1",
|
|
"valid": false,
|
|
"error_count": 2,
|
|
"warning_count": 0,
|
|
"diagnostics": [
|
|
{
|
|
"severity": "error",
|
|
"summary": "Missing required argument",
|
|
"detail": "The argument \"value\" is required, but no definition was found.",
|
|
"range": {
|
|
"filename": "testdata/validate-invalid/outputs/main.tf",
|
|
"start": {
|
|
"line": 1,
|
|
"column": 18,
|
|
"byte": 17
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 19,
|
|
"byte": 18
|
|
}
|
|
},
|
|
"snippet": {
|
|
"context": "output \"myvalue\"",
|
|
"code": "output \"myvalue\" {",
|
|
"start_line": 1,
|
|
"highlight_start_offset": 17,
|
|
"highlight_end_offset": 18,
|
|
"values": []
|
|
}
|
|
},
|
|
{
|
|
"severity": "error",
|
|
"summary": "Unsupported argument",
|
|
"detail": "An argument named \"values\" is not expected here. Did you mean \"value\"?",
|
|
"range": {
|
|
"filename": "testdata/validate-invalid/outputs/main.tf",
|
|
"start": {
|
|
"line": 2,
|
|
"column": 3,
|
|
"byte": 21
|
|
},
|
|
"end": {
|
|
"line": 2,
|
|
"column": 9,
|
|
"byte": 27
|
|
}
|
|
},
|
|
"snippet": {
|
|
"context": "output \"myvalue\"",
|
|
"code": " values = \"Some value\"",
|
|
"start_line": 2,
|
|
"highlight_start_offset": 2,
|
|
"highlight_end_offset": 8,
|
|
"values": []
|
|
}
|
|
}
|
|
]
|
|
}
|