terraform/plans/planfile
Martin Atkins b7db32b819 plans: separate types for encoded and decoded changes
The types here were originally written to allow us to defer decoding of
object values until schemas are available, but it turns out that this was
forcing us to defer decoding longer than necessary and potentially decode
the same value multiple times.

To avoid this, we create pairs of types to represent the encoded and
decoded versions and methods for moving between them. These types are
identical to one another apart from how the dynamic values are
represented.
2018-10-16 18:58:49 -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: Include backend settings in plan and plan files 2018-10-16 18:50:29 -07:00
reader.go plans/planfile: Reading and writing the new plan format 2018-10-16 18:50:29 -07:00
tfplan.go plans: separate types for encoded and decoded changes 2018-10-16 18:58:49 -07:00
tfplan_test.go plans: Include target addresses in the plan 2018-10-16 18:50:29 -07:00
writer.go plans/planfile: Reading and writing the new plan format 2018-10-16 18:50:29 -07:00