pulumi/pkg
Luke Hoban 0550f71a35
Add an ignoreChanges resource option (#2657)
Fixes #2277.

Adds a new ignoreChanges resource option that allows specifying a list of property names whose values will be ignored during updates. The property values will be used for Create, but will be ignored for purposes of updates, and as a result also cannot trigger replacements.

This is a feature of the Pulumi engine, not of the resource providers, so no new logic is needed in providers to support this feature. Instead, the engine simply replaces the values of input properties in the goal state with old inputs for properties marked as ignoreChanges.

Currently, only top level properties may be specified in ignoreChanges. In the future, this could be extended to support paths to nested properties (including into array elements) with a JSONPath/JMESPath syntax.
2019-04-22 13:54:48 -07:00
..
apitype Fix spelling (#2567) 2019-03-19 11:35:17 -07:00
backend Use Go Modules for dependency tracking 2019-04-10 08:37:51 +04:00
diag Revert "Revert "Use result.Result pattern in more places. (#2573)" (#2575)" (#2577) 2019-03-21 13:23:46 -07:00
encoding Add license headers 2018-05-22 15:02:47 -07:00
engine Add an ignoreChanges resource option (#2657) 2019-04-22 13:54:48 -07:00
graph Add license headers 2018-05-22 15:02:47 -07:00
operations Collect logs from Google Cloud Functions 2019-04-08 09:44:05 -07:00
resource Add an ignoreChanges resource option (#2657) 2019-04-22 13:54:48 -07:00
testing Tweak how often we print 'in progress' messages during tests. (#2612) 2019-03-29 17:34:16 -07:00
tokens Adopt golangci-lint and address issues 2018-11-08 14:11:47 -08:00
tools Add a WriteString method to tools/GenWriter. (#1839) 2018-08-29 14:43:20 -07:00
util Use result.Result in more places. (#2568) 2019-03-19 16:21:50 -07:00
version Add license headers 2018-05-22 15:02:47 -07:00
workspace Load default providers deterministically (#2590) 2019-03-26 13:29:34 -07:00