pulumi/cmd
Sean Gillespie 48aa5e73f8
Save resources obtained from ".get" in the snapshot (#1654)
* Protobuf changes to record dependencies for read resources

* Add a number of tests for read resources, especially around replacement

* Place read resources in the snapshot with "external" bit set

Fixes pulumi/pulumi#1521. This commit introduces two new step ops: Read
and ReadReplacement. The engine generates Read and ReadReplacement steps
when servicing ReadResource RPC calls from the language host.

* Fix an omission of OpReadReplace from the step list

* Rebase against master

* Transition to use V2 Resources by default

* Add a semantic "relinquish" operation to the engine

If the engine observes that a resource is read and also that the
resource exists in the snapshot as a non-external resource, it will not
delete the resource if the IDs of the old and new resources match.

* Typo fix

* CR: add missing comments, DeserializeDeployment -> DeserializeDeploymentV2, ID check
2018-08-03 14:06:00 -07:00
..
archive.go Add license headers 2018-05-22 15:02:47 -07:00
cancel.go Support the NO_COLOR env variable to suppres any colored output. (#1594) 2018-07-06 21:30:00 -07:00
config.go Detect secret-like config (#1689) 2018-08-02 04:14:16 -07:00
config_test.go Add license headers 2018-05-22 15:02:47 -07:00
destroy.go Support the NO_COLOR env variable to suppres any colored output. (#1594) 2018-07-06 21:30:00 -07:00
gen_bash_completion.go Add license headers 2018-05-22 15:02:47 -07:00
gen_markdown.go Add license headers 2018-05-22 15:02:47 -07:00
login.go Support the NO_COLOR env variable to suppres any colored output. (#1594) 2018-07-06 21:30:00 -07:00
logout.go Add license headers 2018-05-22 15:02:47 -07:00
logs.go Support the NO_COLOR env variable to suppres any colored output. (#1594) 2018-07-06 21:30:00 -07:00
logs_test.go Add license headers 2018-05-22 15:02:47 -07:00
new.go Make minor improvements to pulumi new (#1659) 2018-07-26 15:49:12 -07:00
plugin.go Add license headers 2018-05-22 15:02:47 -07:00
plugin_install.go Support the NO_COLOR env variable to suppres any colored output. (#1594) 2018-07-06 21:30:00 -07:00
plugin_ls.go Add license headers 2018-05-22 15:02:47 -07:00
plugin_rm.go Support the NO_COLOR env variable to suppres any colored output. (#1594) 2018-07-06 21:30:00 -07:00
preview.go Support the NO_COLOR env variable to suppres any colored output. (#1594) 2018-07-06 21:30:00 -07:00
pulumi.go Prefer "up" over "update" (#1672) 2018-07-31 10:22:16 -07:00
refresh.go Support the NO_COLOR env variable to suppres any colored output. (#1594) 2018-07-06 21:30:00 -07:00
stack.go Support the NO_COLOR env variable to suppres any colored output. (#1594) 2018-07-06 21:30:00 -07:00
stack_export.go Support the NO_COLOR env variable to suppres any colored output. (#1594) 2018-07-06 21:30:00 -07:00
stack_graph.go Support the NO_COLOR env variable to suppres any colored output. (#1594) 2018-07-06 21:30:00 -07:00
stack_import.go Save resources obtained from ".get" in the snapshot (#1654) 2018-08-03 14:06:00 -07:00
stack_init.go Support the NO_COLOR env variable to suppres any colored output. (#1594) 2018-07-06 21:30:00 -07:00
stack_ls.go Support the NO_COLOR env variable to suppres any colored output. (#1594) 2018-07-06 21:30:00 -07:00
stack_output.go Support the NO_COLOR env variable to suppres any colored output. (#1594) 2018-07-06 21:30:00 -07:00
stack_output_test.go Add license headers 2018-05-22 15:02:47 -07:00
stack_rm.go Support the NO_COLOR env variable to suppres any colored output. (#1594) 2018-07-06 21:30:00 -07:00
stack_select.go Support the NO_COLOR env variable to suppres any colored output. (#1594) 2018-07-06 21:30:00 -07:00
up.go Prefer "up" over "update" (#1672) 2018-07-31 10:22:16 -07:00
util.go Add optional CI properties to environment metadata (#1678) 2018-07-31 21:38:07 -07:00
version.go Add license headers 2018-05-22 15:02:47 -07:00
whoami.go Support the NO_COLOR env variable to suppres any colored output. (#1594) 2018-07-06 21:30:00 -07:00