terraform/website/docs/internals
Alisdair McDiarmid a5b7394f9a command/jsonplan: Add replace_paths
The set of paths which caused a resource update to require replacement
has been stored in the plan since 0.15.0 (#28201). This commit adds a
simple JSON representation of these paths, allowing consumers of this
format to determine exactly which paths caused the resource to be
replaced.

This representation is intentionally more loosely encoded than the JSON
state serialization of paths used for sensitive attributes. Instead of a
path step being represented by an object with type and value, we use a
more-JavaScripty heterogenous array of numbers and strings. Any
practical consumer of this format will likely traverse an object tree
using the index operator, which should work more easily with this
format. It also allows easy prefix comparison for consumers which are
tracking paths.

While updating the documentation to include this new field, I noticed
that some others were missing, so added them too.
2021-05-04 16:51:51 -04:00
..
archiving.html.md website: Add docs/internals/archiving.html to describe the archiving process. (#18831) 2018-09-10 17:32:43 -07:00
credentials-helpers.html.md website: CLI: Update links to moved docs pages 2021-01-22 12:22:21 -08:00
debugging.html.md Update debugging.html.md 2021-04-19 12:18:02 -04:00
graph.html.md website: CLI: Update links to moved docs pages 2021-01-22 12:22:21 -08:00
index.html.md
json-format.html.md command/jsonplan: Add replace_paths 2021-05-04 16:51:51 -04:00
lifecycle.html.md
login-protocol.html.markdown website: CLI: Update links to moved docs pages 2021-01-22 12:22:21 -08:00
module-registry-protocol.html.md website: Language: Update links to moved pages 2021-01-22 12:22:21 -08:00
provider-meta.html.md website: Configuration Language navigation refactoring 2020-06-18 09:31:52 -07:00
provider-network-mirror-protocol.html.md website: CLI: Update links to moved docs pages 2021-01-22 12:22:21 -08:00
provider-registry-protocol.html.md website: CLI: Update links to moved docs pages 2021-01-22 12:22:21 -08:00
remote-service-discovery.html.md website: CLI: Update links to moved docs pages 2021-01-22 12:22:21 -08:00