This website requires JavaScript.
Explore
Help
Sign In
ResiLien
/
terraform
Watch
2
Star
0
Fork
You've already forked terraform
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
6d65c19134
terraform
/
internal
/
command
/
testdata
/
validate-invalid
/
missing_defined_var
/
output.json
8 lines
110 B
JSON
Raw
Normal View
History
Unescape
Escape
command: Add tests for terraform validate -json Also uncomment and fix some tests which had been skipped for a couple of years. Those validate cases work now! Note that these test cases and the JSON output are not especially minimized, making them snapshot/golden tests. The output looks correct at time of writing, and we don't expect to change validate significantly any time soon, but if we do there will be some churn here.
2020-12-11 19:09:25 +01:00
{
cli: Add format version to validate -json output In line with the other complex JSON output formats for plan and provider schema, here we add an explicit `format_version` field to the JSON output of terraform validate.
2021-03-16 14:46:36 +01:00
"format_version"
:
"0.1"
,
command: Add tests for terraform validate -json Also uncomment and fix some tests which had been skipped for a couple of years. Those validate cases work now! Note that these test cases and the JSON output are not especially minimized, making them snapshot/golden tests. The output looks correct at time of writing, and we don't expect to change validate significantly any time soon, but if we do there will be some churn here.
2020-12-11 19:09:25 +01:00
"valid"
:
true
,
"error_count"
:
0
,
"warning_count"
:
0
,
"diagnostics"
:
[
]
}