Files
opentf/internal/command/testdata/validate-invalid/missing_quote/output.json
Martin Atkins ffe056bacb Move command/ to internal/command/
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.
2021-05-17 14:09:07 -07:00

35 lines
851 B
JSON

{
"format_version": "0.1",
"valid": false,
"error_count": 1,
"warning_count": 0,
"diagnostics": [
{
"severity": "error",
"summary": "Invalid reference",
"detail": "A reference to a resource type must be followed by at least one attribute access, specifying the resource name.",
"range": {
"filename": "testdata/validate-invalid/missing_quote/main.tf",
"start": {
"line": 6,
"column": 14,
"byte": 110
},
"end": {
"line": 6,
"column": 18,
"byte": 114
}
},
"snippet": {
"context": "resource \"test_instance\" \"foo\"",
"code": " name = test",
"start_line": 6,
"highlight_start_offset": 13,
"highlight_end_offset": 17,
"values": []
}
}
]
}