terraform/internal/command/jsonformat/structured
James Bardin a5077e7ddb don't panic on invalid keys for relevant attrs
The PathMatcher used when rendering diffs assumes the caller knows the
structure the path was derived from, which is incorrect.
RelevantAttributes is derived from references to an object, which may
have errors hidden by `try` or `can` functions, or the data may not have
been updated to match paths via targeted operations.

Even in the case where the data may be incorrect, we can't crash when
rendering the data, because the user may not be able to work around the
panic with no other information about which resource contains unexpected
references.
2026-03-11 14:12:25 -04:00
..
attribute_path don't panic on invalid keys for relevant attrs 2026-03-11 14:12:25 -04:00
change.go make copyrightfix 2026-02-17 13:56:34 +00:00
doc.go make copyrightfix 2026-02-17 13:56:34 +00:00
map.go make copyrightfix 2026-02-17 13:56:34 +00:00
sensitive.go make copyrightfix 2026-02-17 13:56:34 +00:00
slice.go make copyrightfix 2026-02-17 13:56:34 +00:00
unknown.go make copyrightfix 2026-02-17 13:56:34 +00:00