terraform/helper/plugin
James Bardin b7ff04f1b6 remove extra attributes from state during upgrade
Terraform core would previously ignore unexpected attributes found in
the state, but since we now need to encode/decode the state according
the schema, the attributes must match the schema.

On any state upgrade, remove attributes no longer present in the schema
from the state. The only change this requires from providers is that
going forward removal of attribute is considered a schema change, and
requires an increment of the SchemaVersion in order to trigger the
removal of the attributes from state.
2019-05-10 18:05:41 -04:00
..
doc.go helper/plugin package for grpc servers 2018-10-16 18:58:49 -07:00
grpc_provider.go remove extra attributes from state during upgrade 2019-05-10 18:05:41 -04:00
grpc_provider_test.go remove extra attributes from state during upgrade 2019-05-10 18:05:41 -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