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
object_id.go
object_id_test.go
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