mirror of
https://github.com/hashicorp/terraform.git
synced 2026-04-21 06:08:16 -04:00
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"]
}
|
||
|---|---|---|
| .. | ||
| basic-create | ||
| basic-delete | ||
| basic-update | ||
| conditions | ||
| drift | ||
| module-depends-on | ||
| modules | ||
| moved | ||
| moved-drift | ||
| multi-resource-update | ||
| nested-module-error | ||
| nested-modules | ||
| provider-aliasing | ||
| provider-aliasing-conflict | ||
| provider-aliasing-default | ||
| provider-version | ||
| provider-version-no-config | ||
| requires-replace | ||
| sensitive-values | ||