pulumi/pkg/engine
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
..
destroy.go Use result.Result in more places. (#2568) 2019-03-19 16:21:50 -07:00
diff.go Use Go Modules for dependency tracking 2019-04-10 08:37:51 +04:00
engine.go Add an API for importing stack outputs (#2180) 2018-11-14 13:33:35 -08:00
errors.go Show a better error message when decrypting fails (#1815) 2018-08-22 15:32:54 -07:00
events.go Filter diff keys based on provider info (#2526) 2019-03-06 16:41:19 -08:00
eventsink.go Make a smattering of CLI UX improvements 2018-09-24 08:43:46 -07:00
lifecycle_test.go Add an ignoreChanges resource option (#2657) 2019-04-22 13:54:48 -07:00
plan.go Use result.Result in more places. (#2568) 2019-03-19 16:21:50 -07:00
plugins.go Load default providers deterministically (#2590) 2019-03-26 13:29:34 -07:00
plugins_test.go Load default providers deterministically (#2590) 2019-03-26 13:29:34 -07:00
project.go Add license headers 2018-05-22 15:02:47 -07:00
refresh.go Use result.Result in more places. (#2568) 2019-03-19 16:21:50 -07:00
snapshot.go Add license headers 2018-05-22 15:02:47 -07:00
update.go Load default providers deterministically (#2590) 2019-03-26 13:29:34 -07:00