terraform/helper/plugin
James Bardin cf61a689eb only hold back empty container changes in apply
When normalizing the state during read, if the resource was previously
imported, most nil-able values will be nil, and we need to prefer the
values returned by the latest Read operation. This didn't come up
before, because Read is usually working with a state create by plan and
Apply which has already shaped the state with the expected empty values.

Having the src value preferred only during Apply better follows the
intent of this function, which should allow Read to return whatever
values it deems necessary. Since Read and Plan use the same
normalization logic, the implied Read before plan should take care of any
perpetual diffs.
2019-05-13 19:04:25 -04:00
..
doc.go helper/plugin package for grpc servers 2018-10-16 18:58:49 -07:00
grpc_provider.go only hold back empty container changes in apply 2019-05-13 19:04:25 -04:00
grpc_provider_test.go only hold back empty container changes in apply 2019-05-13 19:04:25 -04:00
grpc_provisioner.go plugin: Establish our current plugin protocol as version 5 2018-11-19 09:56:41 -08:00
grpc_provisioner_test.go plugin: Establish our current plugin protocol as version 5 2018-11-19 09:56:41 -08:00
unknown.go configs/configschema: Introduce the NestingGroup mode for blocks 2019-04-10 14:53:52 -07:00
unknown_test.go switch blocks based on value type, and check attrs 2019-02-08 14:46:29 -05:00