pulumi/pkg
joeduffy bd613a33e6 Make replacement first class
This change, part of pulumi/coconut#105, rearranges support for
resource replacement.  The old model didn't properly account for
the cascading updates and possible replacement of dependencies.

Namely, we need to model a replacement as a creation followed by
a deletion, inserted into the overall DAG correctly so that any
resources that must be updated are updated after the creation but
prior to the deletion.  This is done by inserting *three* nodes
into the graph per replacement: a physical creation step, a
physical deletion step, and a logical replacement step.  The logical
step simply makes it nicer in the output (the plan output shows
a single "replacement" rather than the fine-grained outputs, unless
they are requested with --show-replace-steps).  It also makes it
easier to fold all of the edges into a single linchpin node.

As part of this, the update step no longer gets to choose whether
to recreate the resource.  Instead, the engine takes care of
orchestrating the replacement through actual create and delete calls.
2017-03-02 09:52:08 -08:00
..
compiler Ensure configuration round-trips in Huskfiles 2017-02-28 15:43:46 -08:00
config Coconut! 2017-02-25 07:25:33 -08:00
diag Display and colorize replacements distinctly 2017-03-01 13:34:29 -08:00
encoding Coconut! 2017-02-25 07:25:33 -08:00
eval Print more details when an unhandled exception occurs 2017-02-28 13:15:28 -08:00
graph Coconut! 2017-02-25 07:25:33 -08:00
pack Coconut! 2017-02-25 07:25:33 -08:00
resource Make replacement first class 2017-03-02 09:52:08 -08:00
tokens Permit dots in names 2017-02-28 12:07:18 -08:00
util Fix some go vet issues 2017-02-28 11:02:33 -08:00
workspace Implement a coco husk ls command 2017-02-26 13:06:33 -08:00