opentofu/internal/command/testdata/show-json-state
Alisdair McDiarmid 12c8f9498c json-output: Add output type to JSON format
Previously the supported JSON plan and state formats included only
serialized output values, which was a lossy serialization of the
Terraform type system. This commit adds a type field in the usual cty
JSON format, which allows reconstitution of the original value.

For example, previously a list(string) and a set(string) containing the
same values were indistinguishable. This change serializes these as
follows:

{
  "value": ["a","b","c"],
  "type": ["list","string"]
}

and:

{
  "value": ["a","b","c"],
  "type": ["set","string"]
}
2022-04-27 13:30:15 -04:00
..
basic json-output: Release format version 1.0 2021-10-06 11:13:06 -04:00
empty cli: Migrate show command to use command arguments and views 2022-01-13 11:00:03 -06:00
modules json-output: Add output type to JSON format 2022-04-27 13:30:15 -04:00
no-state cli: Migrate show command to use command arguments and views 2022-01-13 11:00:03 -06:00
sensitive-variables json-output: Release format version 1.0 2021-10-06 11:13:06 -04:00