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
a819d7db3a
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
{
json-output: Release format version 1.0
2021-09-01 17:17:13 +02:00
"format_version"
:
"1.0"
,
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"
:
[
]
}