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
ce96d82de0
terraform
/
internal
/
command
/
testdata
/
show-json-state
/
empty
/
output.json
3 lines
31 B
JSON
Raw
Normal View
History
Unescape
Escape
`terraform show` and `terraform providers schema -json` should return valid json (#20697) * command/providers schemas: return empty json object if config parses successfully but no providers found * command/show (state): return an empty object if state is nil
2019-03-14 22:52:07 +01:00
{
jsonplan and jsonstate: include sensitive_values in state representations (#28889) * jsonplan and jsonstate: include sensitive_values in state representations A sensitive_values field has been added to the resource in state and planned values which is a map of all sensitive attributes with the values set to true. It wasn't entirely clear to me if the values in state would suffice, or if we also need to consult the schema - I believe that this is sufficient for state files written since v0.15, and if that's incorrect or insufficient, I'll add in the provider schema check as well. I also updated the documentation, and, since we've considered this before, bumped the FormatVersions for both jsonstate and jsonplan.
2021-06-14 15:19:13 +02:00
"format_version"
:
"0.2"
`terraform show` and `terraform providers schema -json` should return valid json (#20697) * command/providers schemas: return empty json object if config parses successfully but no providers found * command/show (state): return an empty object if state is nil
2019-03-14 22:52:07 +01:00
}