terraform/command/format
Alisdair McDiarmid c798dc98db command: Show diffs when only sensitivity changes
When an attribute's sensitivity changes, but its value remains the same,
we consider this an update operation for the plan. This commit updates
the diff renderer to match this, detecting and displaying the change in
sensitivity.

Previously, the renderer would detect no changes to the value of the
attribute, and consider it a no-op action. This resulted in suppression
of the attribute when the plan is in concise mode.

This is achieved with a new helper function, ctyEqualValueAndMarks. We
call this function whenever we want to check that two values are equal
in order to determine whether the action is update or no-op.
2020-10-13 13:55:16 -04:00
..
diagnostic.go Add case to compactValueStr not to expose sensitive vals in diagnostics 2020-09-10 11:04:17 -04:00
diagnostic_test.go format: Don't wrap space-prefixed diag details 2020-09-01 14:02:19 -04:00
diff.go command: Show diffs when only sensitivity changes 2020-10-13 13:55:16 -04:00
diff_test.go command: Show diffs when only sensitivity changes 2020-10-13 13:55:16 -04:00
format.go command/format: a package for formatting plans/state for output 2017-01-26 14:33:49 -08:00
object_id.go command: Reinstate object ids in the UIHook progress logs 2018-10-16 19:14:11 -07:00
object_id_test.go Updates after running `make fmt` with Go v1.11.1 2018-10-17 14:11:08 -07:00
state.go command: Add experimental concise diff renderer 2020-09-10 10:35:55 -04:00
state_test.go remove LegacyProvider (#26433) 2020-10-05 08:33:49 -04:00