This website requires JavaScript.
Explore
Help
Register
Sign In
upstream
/
terraform
Watch
1
Star
0
Fork
You've already forked terraform
0
mirror of
https://github.com/hashicorp/terraform.git
synced
2026-04-29 01:59:00 -04:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
8
da74b59ea1
terraform
/
internal
/
command
/
testdata
/
validate-valid
/
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 13:09:25 -05:00
{
json-output: Release format version 1.0
2021-09-01 11:17:13 -04: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 13:09:25 -05:00
"valid"
:
true
,
"error_count"
:
0
,
"warning_count"
:
0
,
"diagnostics"
:
[
]
}
Reference in a new issue
Copy permalink