terraform/plans/planfile
Martin Atkins d53c3d5c1b plans: Retain output value changes for all outputs in memory
During the plan operation we need to retain _somewhere_ the planned
changes for all outputs so we can refer to them during expression
evaluation. For consistency with how we handle resource instance changes,
we'll keep them in the plan so we can properly retain unknown values,
which cannot be written to state.

As with output values in the state, only root output plans are retained
in a round-trip through the on-disk plan file format, but that's okay
because we can trivially re-calculate all of these during apply. We
include the _root_ outputs in the plan file only because they are
externally-visible side effects that ought to be included in any rendering
of the plan made from the plan file for user inspection.
2018-10-16 19:14:11 -07:00
..
testdata/test-config plans/planfile: Reading and writing the new plan format 2018-10-16 18:50:29 -07:00
config_snapshot.go plans/planfile: Reading and writing the new plan format 2018-10-16 18:50:29 -07:00
config_snapshot_test.go plans/planfile: Reading and writing the new plan format 2018-10-16 18:50:29 -07:00
doc.go plans/planfile: Reading and writing the new plan format 2018-10-16 18:50:29 -07:00
planfile_test.go plans: Retain output value changes for all outputs in memory 2018-10-16 19:14:11 -07:00
reader.go plans/planfile: Reading and writing the new plan format 2018-10-16 18:50:29 -07:00
tfplan.go plans: Retain output value changes for all outputs in memory 2018-10-16 19:14:11 -07:00
tfplan_test.go plans: Retain output value changes for all outputs in memory 2018-10-16 19:14:11 -07:00
writer.go plans/planfile: Reading and writing the new plan format 2018-10-16 18:50:29 -07:00