924b97238f
Any state modifying functions can only be run once during the plan-apply cycle. When regenerating the Diff during ApplyResourceChange, strip out all StateFunc and CustomizeDiff functions from the schema. Thew NewExtra diff field was where config data that was modified by a StateFunc was stored, and needs to be maintained between plan and apply. During PlanResourceChange, store any NewExtra data from the Diff in the PlannedPrivate data, and re-insert the NewExtra data into the Diff generated during ApplyResourceChange. |
||
---|---|---|
.. | ||
doc.go | ||
grpc_provider.go | ||
grpc_provider_test.go | ||
grpc_provisioner.go | ||
grpc_provisioner_test.go |