pulumi/pkg/backend
Pat Gavlin 73f4f2c464
Reimplement refresh. (#1814)
Replace the Source-based implementation of refresh with a phase that
runs as the first part of plan execution and rewrites the snapshot in-memory.

In order to fit neatly within the existing framework for resource operations,
these changes introduce a new kind of step, RefreshStep, to represent
refreshes. RefreshSteps operate similar to ReadSteps but do not imply that
the resource being read is not managed by Pulumi.

In addition to the refresh reimplementation, these changes incorporate those
from #1394 to run refresh in the integration test framework.

Fixes #1598.
Fixes pulumi/pulumi-terraform#165.
Contributes to #1449.
2018-08-22 17:52:46 -07:00
..
cloud Don't use :config: token when sending values to the service 2018-08-22 16:41:46 -07:00
local Reimplement refresh. (#1814) 2018-08-22 17:52:46 -07:00
state Add license headers 2018-05-22 15:02:47 -07:00
backend.go Initial support for passing URLs to `new` and `up` (#1727) 2018-08-10 18:08:16 -07:00
display.go Add license headers 2018-05-22 15:02:47 -07:00
snapshot.go Reimplement refresh. (#1814) 2018-08-22 17:52:46 -07:00
snapshot_test.go Elide unnecessary checkpoint writes. (#1798) 2018-08-20 14:14:50 -07:00
stack.go Support TypeScript in a more first-class way 2018-08-06 14:00:58 -07:00
updates.go Add a few more CI env vars (#1738) 2018-08-08 14:12:47 -07:00