Files
opentf/internal/command
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
..
2021-08-17 15:20:05 -07:00
2021-05-17 14:09:07 -07:00
2021-05-17 14:09:07 -07:00
2021-05-17 14:09:07 -07:00
2021-05-17 14:09:07 -07:00
2022-03-25 14:31:52 +00:00
2021-10-28 11:51:39 -04:00
2021-05-17 14:09:07 -07:00
2022-03-30 09:52:49 +01:00
2021-05-17 14:09:07 -07:00
2021-10-28 19:29:21 -05:00
2021-05-17 14:09:07 -07:00