core: Allow legacy SDK to opt out of plan-time safety checks

Due to the inprecision of our shimming from the legacy SDK type system to
the new Terraform Core type system, the legacy SDK produces a number of
inconsistencies that produce only minor quirky behavior or broken
edge-cases. To retain compatibility with those existing weird behaviors,
the legacy SDK opts out of our safety checks.

The intent here is to allow existing providers to continue to do their
previous unsafe behaviors for now, accepting that this will allow certain
quirky bugs from previous releases to persist, and then gradually migrate
away from the legacy SDK and remove this opt-out on a per-resource basis
over time.

As with the apply-time safety check opt-out, this is reserved only for
the legacy SDK and must not be used in any new SDK implementations. We
still include any inconsistencies as warnings in the logs as an aid to
anyone debugging weird behavior, so that they can see situations where
blame may be misplaced in the user-visible error messages.
This commit is contained in:
Martin Atkins 2019-02-08 20:32:44 -08:00
parent 5649ae6abf
commit 31299e688d
6 changed files with 262 additions and 198 deletions

View File

@ -475,6 +475,14 @@ func (s *GRPCProviderServer) ReadResource(_ context.Context, req *proto.ReadReso
func (s *GRPCProviderServer) PlanResourceChange(_ context.Context, req *proto.PlanResourceChange_Request) (*proto.PlanResourceChange_Response, error) { func (s *GRPCProviderServer) PlanResourceChange(_ context.Context, req *proto.PlanResourceChange_Request) (*proto.PlanResourceChange_Response, error) {
resp := &proto.PlanResourceChange_Response{} resp := &proto.PlanResourceChange_Response{}
// This is a signal to Terraform Core that we're doing the best we can to
// shim the legacy type system of the SDK onto the Terraform type system
// but we need it to cut us some slack. This setting should not be taken
// forward to any new SDK implementations, since setting it prevents us
// from catching certain classes of provider bug that can lead to
// confusing downstream errors.
resp.LegacyTypeSystem = true
res := s.provider.ResourcesMap[req.TypeName] res := s.provider.ResourcesMap[req.TypeName]
block := res.CoreConfigSchema() block := res.CoreConfigSchema()

View File

@ -46,7 +46,7 @@ func (x Diagnostic_Severity) String() string {
return proto.EnumName(Diagnostic_Severity_name, int32(x)) return proto.EnumName(Diagnostic_Severity_name, int32(x))
} }
func (Diagnostic_Severity) EnumDescriptor() ([]byte, []int) { func (Diagnostic_Severity) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{1, 0} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{1, 0}
} }
type Schema_NestedBlock_NestingMode int32 type Schema_NestedBlock_NestingMode int32
@ -78,7 +78,7 @@ func (x Schema_NestedBlock_NestingMode) String() string {
return proto.EnumName(Schema_NestedBlock_NestingMode_name, int32(x)) return proto.EnumName(Schema_NestedBlock_NestingMode_name, int32(x))
} }
func (Schema_NestedBlock_NestingMode) EnumDescriptor() ([]byte, []int) { func (Schema_NestedBlock_NestingMode) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{5, 2, 0} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{5, 2, 0}
} }
// DynamicValue is an opaque encoding of terraform data, with the field name // DynamicValue is an opaque encoding of terraform data, with the field name
@ -95,7 +95,7 @@ func (m *DynamicValue) Reset() { *m = DynamicValue{} }
func (m *DynamicValue) String() string { return proto.CompactTextString(m) } func (m *DynamicValue) String() string { return proto.CompactTextString(m) }
func (*DynamicValue) ProtoMessage() {} func (*DynamicValue) ProtoMessage() {}
func (*DynamicValue) Descriptor() ([]byte, []int) { func (*DynamicValue) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{0} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{0}
} }
func (m *DynamicValue) XXX_Unmarshal(b []byte) error { func (m *DynamicValue) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DynamicValue.Unmarshal(m, b) return xxx_messageInfo_DynamicValue.Unmarshal(m, b)
@ -143,7 +143,7 @@ func (m *Diagnostic) Reset() { *m = Diagnostic{} }
func (m *Diagnostic) String() string { return proto.CompactTextString(m) } func (m *Diagnostic) String() string { return proto.CompactTextString(m) }
func (*Diagnostic) ProtoMessage() {} func (*Diagnostic) ProtoMessage() {}
func (*Diagnostic) Descriptor() ([]byte, []int) { func (*Diagnostic) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{1} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{1}
} }
func (m *Diagnostic) XXX_Unmarshal(b []byte) error { func (m *Diagnostic) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Diagnostic.Unmarshal(m, b) return xxx_messageInfo_Diagnostic.Unmarshal(m, b)
@ -202,7 +202,7 @@ func (m *AttributePath) Reset() { *m = AttributePath{} }
func (m *AttributePath) String() string { return proto.CompactTextString(m) } func (m *AttributePath) String() string { return proto.CompactTextString(m) }
func (*AttributePath) ProtoMessage() {} func (*AttributePath) ProtoMessage() {}
func (*AttributePath) Descriptor() ([]byte, []int) { func (*AttributePath) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{2} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{2}
} }
func (m *AttributePath) XXX_Unmarshal(b []byte) error { func (m *AttributePath) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AttributePath.Unmarshal(m, b) return xxx_messageInfo_AttributePath.Unmarshal(m, b)
@ -244,7 +244,7 @@ func (m *AttributePath_Step) Reset() { *m = AttributePath_Step{} }
func (m *AttributePath_Step) String() string { return proto.CompactTextString(m) } func (m *AttributePath_Step) String() string { return proto.CompactTextString(m) }
func (*AttributePath_Step) ProtoMessage() {} func (*AttributePath_Step) ProtoMessage() {}
func (*AttributePath_Step) Descriptor() ([]byte, []int) { func (*AttributePath_Step) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{2, 0} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{2, 0}
} }
func (m *AttributePath_Step) XXX_Unmarshal(b []byte) error { func (m *AttributePath_Step) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AttributePath_Step.Unmarshal(m, b) return xxx_messageInfo_AttributePath_Step.Unmarshal(m, b)
@ -404,7 +404,7 @@ func (m *Stop) Reset() { *m = Stop{} }
func (m *Stop) String() string { return proto.CompactTextString(m) } func (m *Stop) String() string { return proto.CompactTextString(m) }
func (*Stop) ProtoMessage() {} func (*Stop) ProtoMessage() {}
func (*Stop) Descriptor() ([]byte, []int) { func (*Stop) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{3} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{3}
} }
func (m *Stop) XXX_Unmarshal(b []byte) error { func (m *Stop) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Stop.Unmarshal(m, b) return xxx_messageInfo_Stop.Unmarshal(m, b)
@ -434,7 +434,7 @@ func (m *Stop_Request) Reset() { *m = Stop_Request{} }
func (m *Stop_Request) String() string { return proto.CompactTextString(m) } func (m *Stop_Request) String() string { return proto.CompactTextString(m) }
func (*Stop_Request) ProtoMessage() {} func (*Stop_Request) ProtoMessage() {}
func (*Stop_Request) Descriptor() ([]byte, []int) { func (*Stop_Request) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{3, 0} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{3, 0}
} }
func (m *Stop_Request) XXX_Unmarshal(b []byte) error { func (m *Stop_Request) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Stop_Request.Unmarshal(m, b) return xxx_messageInfo_Stop_Request.Unmarshal(m, b)
@ -465,7 +465,7 @@ func (m *Stop_Response) Reset() { *m = Stop_Response{} }
func (m *Stop_Response) String() string { return proto.CompactTextString(m) } func (m *Stop_Response) String() string { return proto.CompactTextString(m) }
func (*Stop_Response) ProtoMessage() {} func (*Stop_Response) ProtoMessage() {}
func (*Stop_Response) Descriptor() ([]byte, []int) { func (*Stop_Response) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{3, 1} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{3, 1}
} }
func (m *Stop_Response) XXX_Unmarshal(b []byte) error { func (m *Stop_Response) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Stop_Response.Unmarshal(m, b) return xxx_messageInfo_Stop_Response.Unmarshal(m, b)
@ -507,7 +507,7 @@ func (m *RawState) Reset() { *m = RawState{} }
func (m *RawState) String() string { return proto.CompactTextString(m) } func (m *RawState) String() string { return proto.CompactTextString(m) }
func (*RawState) ProtoMessage() {} func (*RawState) ProtoMessage() {}
func (*RawState) Descriptor() ([]byte, []int) { func (*RawState) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{4} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{4}
} }
func (m *RawState) XXX_Unmarshal(b []byte) error { func (m *RawState) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RawState.Unmarshal(m, b) return xxx_messageInfo_RawState.Unmarshal(m, b)
@ -558,7 +558,7 @@ func (m *Schema) Reset() { *m = Schema{} }
func (m *Schema) String() string { return proto.CompactTextString(m) } func (m *Schema) String() string { return proto.CompactTextString(m) }
func (*Schema) ProtoMessage() {} func (*Schema) ProtoMessage() {}
func (*Schema) Descriptor() ([]byte, []int) { func (*Schema) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{5} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{5}
} }
func (m *Schema) XXX_Unmarshal(b []byte) error { func (m *Schema) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Schema.Unmarshal(m, b) return xxx_messageInfo_Schema.Unmarshal(m, b)
@ -605,7 +605,7 @@ func (m *Schema_Block) Reset() { *m = Schema_Block{} }
func (m *Schema_Block) String() string { return proto.CompactTextString(m) } func (m *Schema_Block) String() string { return proto.CompactTextString(m) }
func (*Schema_Block) ProtoMessage() {} func (*Schema_Block) ProtoMessage() {}
func (*Schema_Block) Descriptor() ([]byte, []int) { func (*Schema_Block) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{5, 0} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{5, 0}
} }
func (m *Schema_Block) XXX_Unmarshal(b []byte) error { func (m *Schema_Block) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Schema_Block.Unmarshal(m, b) return xxx_messageInfo_Schema_Block.Unmarshal(m, b)
@ -663,7 +663,7 @@ func (m *Schema_Attribute) Reset() { *m = Schema_Attribute{} }
func (m *Schema_Attribute) String() string { return proto.CompactTextString(m) } func (m *Schema_Attribute) String() string { return proto.CompactTextString(m) }
func (*Schema_Attribute) ProtoMessage() {} func (*Schema_Attribute) ProtoMessage() {}
func (*Schema_Attribute) Descriptor() ([]byte, []int) { func (*Schema_Attribute) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{5, 1} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{5, 1}
} }
func (m *Schema_Attribute) XXX_Unmarshal(b []byte) error { func (m *Schema_Attribute) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Schema_Attribute.Unmarshal(m, b) return xxx_messageInfo_Schema_Attribute.Unmarshal(m, b)
@ -747,7 +747,7 @@ func (m *Schema_NestedBlock) Reset() { *m = Schema_NestedBlock{} }
func (m *Schema_NestedBlock) String() string { return proto.CompactTextString(m) } func (m *Schema_NestedBlock) String() string { return proto.CompactTextString(m) }
func (*Schema_NestedBlock) ProtoMessage() {} func (*Schema_NestedBlock) ProtoMessage() {}
func (*Schema_NestedBlock) Descriptor() ([]byte, []int) { func (*Schema_NestedBlock) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{5, 2} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{5, 2}
} }
func (m *Schema_NestedBlock) XXX_Unmarshal(b []byte) error { func (m *Schema_NestedBlock) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Schema_NestedBlock.Unmarshal(m, b) return xxx_messageInfo_Schema_NestedBlock.Unmarshal(m, b)
@ -812,7 +812,7 @@ func (m *GetProviderSchema) Reset() { *m = GetProviderSchema{} }
func (m *GetProviderSchema) String() string { return proto.CompactTextString(m) } func (m *GetProviderSchema) String() string { return proto.CompactTextString(m) }
func (*GetProviderSchema) ProtoMessage() {} func (*GetProviderSchema) ProtoMessage() {}
func (*GetProviderSchema) Descriptor() ([]byte, []int) { func (*GetProviderSchema) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{6} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{6}
} }
func (m *GetProviderSchema) XXX_Unmarshal(b []byte) error { func (m *GetProviderSchema) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetProviderSchema.Unmarshal(m, b) return xxx_messageInfo_GetProviderSchema.Unmarshal(m, b)
@ -842,7 +842,7 @@ func (m *GetProviderSchema_Request) Reset() { *m = GetProviderSchema_Req
func (m *GetProviderSchema_Request) String() string { return proto.CompactTextString(m) } func (m *GetProviderSchema_Request) String() string { return proto.CompactTextString(m) }
func (*GetProviderSchema_Request) ProtoMessage() {} func (*GetProviderSchema_Request) ProtoMessage() {}
func (*GetProviderSchema_Request) Descriptor() ([]byte, []int) { func (*GetProviderSchema_Request) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{6, 0} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{6, 0}
} }
func (m *GetProviderSchema_Request) XXX_Unmarshal(b []byte) error { func (m *GetProviderSchema_Request) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetProviderSchema_Request.Unmarshal(m, b) return xxx_messageInfo_GetProviderSchema_Request.Unmarshal(m, b)
@ -876,7 +876,7 @@ func (m *GetProviderSchema_Response) Reset() { *m = GetProviderSchema_Re
func (m *GetProviderSchema_Response) String() string { return proto.CompactTextString(m) } func (m *GetProviderSchema_Response) String() string { return proto.CompactTextString(m) }
func (*GetProviderSchema_Response) ProtoMessage() {} func (*GetProviderSchema_Response) ProtoMessage() {}
func (*GetProviderSchema_Response) Descriptor() ([]byte, []int) { func (*GetProviderSchema_Response) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{6, 1} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{6, 1}
} }
func (m *GetProviderSchema_Response) XXX_Unmarshal(b []byte) error { func (m *GetProviderSchema_Response) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetProviderSchema_Response.Unmarshal(m, b) return xxx_messageInfo_GetProviderSchema_Response.Unmarshal(m, b)
@ -934,7 +934,7 @@ func (m *PrepareProviderConfig) Reset() { *m = PrepareProviderConfig{} }
func (m *PrepareProviderConfig) String() string { return proto.CompactTextString(m) } func (m *PrepareProviderConfig) String() string { return proto.CompactTextString(m) }
func (*PrepareProviderConfig) ProtoMessage() {} func (*PrepareProviderConfig) ProtoMessage() {}
func (*PrepareProviderConfig) Descriptor() ([]byte, []int) { func (*PrepareProviderConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{7} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{7}
} }
func (m *PrepareProviderConfig) XXX_Unmarshal(b []byte) error { func (m *PrepareProviderConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PrepareProviderConfig.Unmarshal(m, b) return xxx_messageInfo_PrepareProviderConfig.Unmarshal(m, b)
@ -965,7 +965,7 @@ func (m *PrepareProviderConfig_Request) Reset() { *m = PrepareProviderCo
func (m *PrepareProviderConfig_Request) String() string { return proto.CompactTextString(m) } func (m *PrepareProviderConfig_Request) String() string { return proto.CompactTextString(m) }
func (*PrepareProviderConfig_Request) ProtoMessage() {} func (*PrepareProviderConfig_Request) ProtoMessage() {}
func (*PrepareProviderConfig_Request) Descriptor() ([]byte, []int) { func (*PrepareProviderConfig_Request) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{7, 0} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{7, 0}
} }
func (m *PrepareProviderConfig_Request) XXX_Unmarshal(b []byte) error { func (m *PrepareProviderConfig_Request) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PrepareProviderConfig_Request.Unmarshal(m, b) return xxx_messageInfo_PrepareProviderConfig_Request.Unmarshal(m, b)
@ -1004,7 +1004,7 @@ func (m *PrepareProviderConfig_Response) Reset() { *m = PrepareProviderC
func (m *PrepareProviderConfig_Response) String() string { return proto.CompactTextString(m) } func (m *PrepareProviderConfig_Response) String() string { return proto.CompactTextString(m) }
func (*PrepareProviderConfig_Response) ProtoMessage() {} func (*PrepareProviderConfig_Response) ProtoMessage() {}
func (*PrepareProviderConfig_Response) Descriptor() ([]byte, []int) { func (*PrepareProviderConfig_Response) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{7, 1} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{7, 1}
} }
func (m *PrepareProviderConfig_Response) XXX_Unmarshal(b []byte) error { func (m *PrepareProviderConfig_Response) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PrepareProviderConfig_Response.Unmarshal(m, b) return xxx_messageInfo_PrepareProviderConfig_Response.Unmarshal(m, b)
@ -1048,7 +1048,7 @@ func (m *UpgradeResourceState) Reset() { *m = UpgradeResourceState{} }
func (m *UpgradeResourceState) String() string { return proto.CompactTextString(m) } func (m *UpgradeResourceState) String() string { return proto.CompactTextString(m) }
func (*UpgradeResourceState) ProtoMessage() {} func (*UpgradeResourceState) ProtoMessage() {}
func (*UpgradeResourceState) Descriptor() ([]byte, []int) { func (*UpgradeResourceState) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{8} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{8}
} }
func (m *UpgradeResourceState) XXX_Unmarshal(b []byte) error { func (m *UpgradeResourceState) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UpgradeResourceState.Unmarshal(m, b) return xxx_messageInfo_UpgradeResourceState.Unmarshal(m, b)
@ -1087,7 +1087,7 @@ func (m *UpgradeResourceState_Request) Reset() { *m = UpgradeResourceSta
func (m *UpgradeResourceState_Request) String() string { return proto.CompactTextString(m) } func (m *UpgradeResourceState_Request) String() string { return proto.CompactTextString(m) }
func (*UpgradeResourceState_Request) ProtoMessage() {} func (*UpgradeResourceState_Request) ProtoMessage() {}
func (*UpgradeResourceState_Request) Descriptor() ([]byte, []int) { func (*UpgradeResourceState_Request) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{8, 0} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{8, 0}
} }
func (m *UpgradeResourceState_Request) XXX_Unmarshal(b []byte) error { func (m *UpgradeResourceState_Request) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UpgradeResourceState_Request.Unmarshal(m, b) return xxx_messageInfo_UpgradeResourceState_Request.Unmarshal(m, b)
@ -1146,7 +1146,7 @@ func (m *UpgradeResourceState_Response) Reset() { *m = UpgradeResourceSt
func (m *UpgradeResourceState_Response) String() string { return proto.CompactTextString(m) } func (m *UpgradeResourceState_Response) String() string { return proto.CompactTextString(m) }
func (*UpgradeResourceState_Response) ProtoMessage() {} func (*UpgradeResourceState_Response) ProtoMessage() {}
func (*UpgradeResourceState_Response) Descriptor() ([]byte, []int) { func (*UpgradeResourceState_Response) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{8, 1} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{8, 1}
} }
func (m *UpgradeResourceState_Response) XXX_Unmarshal(b []byte) error { func (m *UpgradeResourceState_Response) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UpgradeResourceState_Response.Unmarshal(m, b) return xxx_messageInfo_UpgradeResourceState_Response.Unmarshal(m, b)
@ -1190,7 +1190,7 @@ func (m *ValidateResourceTypeConfig) Reset() { *m = ValidateResourceType
func (m *ValidateResourceTypeConfig) String() string { return proto.CompactTextString(m) } func (m *ValidateResourceTypeConfig) String() string { return proto.CompactTextString(m) }
func (*ValidateResourceTypeConfig) ProtoMessage() {} func (*ValidateResourceTypeConfig) ProtoMessage() {}
func (*ValidateResourceTypeConfig) Descriptor() ([]byte, []int) { func (*ValidateResourceTypeConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{9} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{9}
} }
func (m *ValidateResourceTypeConfig) XXX_Unmarshal(b []byte) error { func (m *ValidateResourceTypeConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ValidateResourceTypeConfig.Unmarshal(m, b) return xxx_messageInfo_ValidateResourceTypeConfig.Unmarshal(m, b)
@ -1222,7 +1222,7 @@ func (m *ValidateResourceTypeConfig_Request) Reset() { *m = ValidateReso
func (m *ValidateResourceTypeConfig_Request) String() string { return proto.CompactTextString(m) } func (m *ValidateResourceTypeConfig_Request) String() string { return proto.CompactTextString(m) }
func (*ValidateResourceTypeConfig_Request) ProtoMessage() {} func (*ValidateResourceTypeConfig_Request) ProtoMessage() {}
func (*ValidateResourceTypeConfig_Request) Descriptor() ([]byte, []int) { func (*ValidateResourceTypeConfig_Request) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{9, 0} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{9, 0}
} }
func (m *ValidateResourceTypeConfig_Request) XXX_Unmarshal(b []byte) error { func (m *ValidateResourceTypeConfig_Request) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ValidateResourceTypeConfig_Request.Unmarshal(m, b) return xxx_messageInfo_ValidateResourceTypeConfig_Request.Unmarshal(m, b)
@ -1267,7 +1267,7 @@ func (m *ValidateResourceTypeConfig_Response) Reset() { *m = ValidateRes
func (m *ValidateResourceTypeConfig_Response) String() string { return proto.CompactTextString(m) } func (m *ValidateResourceTypeConfig_Response) String() string { return proto.CompactTextString(m) }
func (*ValidateResourceTypeConfig_Response) ProtoMessage() {} func (*ValidateResourceTypeConfig_Response) ProtoMessage() {}
func (*ValidateResourceTypeConfig_Response) Descriptor() ([]byte, []int) { func (*ValidateResourceTypeConfig_Response) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{9, 1} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{9, 1}
} }
func (m *ValidateResourceTypeConfig_Response) XXX_Unmarshal(b []byte) error { func (m *ValidateResourceTypeConfig_Response) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ValidateResourceTypeConfig_Response.Unmarshal(m, b) return xxx_messageInfo_ValidateResourceTypeConfig_Response.Unmarshal(m, b)
@ -1304,7 +1304,7 @@ func (m *ValidateDataSourceConfig) Reset() { *m = ValidateDataSourceConf
func (m *ValidateDataSourceConfig) String() string { return proto.CompactTextString(m) } func (m *ValidateDataSourceConfig) String() string { return proto.CompactTextString(m) }
func (*ValidateDataSourceConfig) ProtoMessage() {} func (*ValidateDataSourceConfig) ProtoMessage() {}
func (*ValidateDataSourceConfig) Descriptor() ([]byte, []int) { func (*ValidateDataSourceConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{10} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{10}
} }
func (m *ValidateDataSourceConfig) XXX_Unmarshal(b []byte) error { func (m *ValidateDataSourceConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ValidateDataSourceConfig.Unmarshal(m, b) return xxx_messageInfo_ValidateDataSourceConfig.Unmarshal(m, b)
@ -1336,7 +1336,7 @@ func (m *ValidateDataSourceConfig_Request) Reset() { *m = ValidateDataSo
func (m *ValidateDataSourceConfig_Request) String() string { return proto.CompactTextString(m) } func (m *ValidateDataSourceConfig_Request) String() string { return proto.CompactTextString(m) }
func (*ValidateDataSourceConfig_Request) ProtoMessage() {} func (*ValidateDataSourceConfig_Request) ProtoMessage() {}
func (*ValidateDataSourceConfig_Request) Descriptor() ([]byte, []int) { func (*ValidateDataSourceConfig_Request) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{10, 0} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{10, 0}
} }
func (m *ValidateDataSourceConfig_Request) XXX_Unmarshal(b []byte) error { func (m *ValidateDataSourceConfig_Request) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ValidateDataSourceConfig_Request.Unmarshal(m, b) return xxx_messageInfo_ValidateDataSourceConfig_Request.Unmarshal(m, b)
@ -1381,7 +1381,7 @@ func (m *ValidateDataSourceConfig_Response) Reset() { *m = ValidateDataS
func (m *ValidateDataSourceConfig_Response) String() string { return proto.CompactTextString(m) } func (m *ValidateDataSourceConfig_Response) String() string { return proto.CompactTextString(m) }
func (*ValidateDataSourceConfig_Response) ProtoMessage() {} func (*ValidateDataSourceConfig_Response) ProtoMessage() {}
func (*ValidateDataSourceConfig_Response) Descriptor() ([]byte, []int) { func (*ValidateDataSourceConfig_Response) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{10, 1} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{10, 1}
} }
func (m *ValidateDataSourceConfig_Response) XXX_Unmarshal(b []byte) error { func (m *ValidateDataSourceConfig_Response) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ValidateDataSourceConfig_Response.Unmarshal(m, b) return xxx_messageInfo_ValidateDataSourceConfig_Response.Unmarshal(m, b)
@ -1418,7 +1418,7 @@ func (m *Configure) Reset() { *m = Configure{} }
func (m *Configure) String() string { return proto.CompactTextString(m) } func (m *Configure) String() string { return proto.CompactTextString(m) }
func (*Configure) ProtoMessage() {} func (*Configure) ProtoMessage() {}
func (*Configure) Descriptor() ([]byte, []int) { func (*Configure) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{11} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{11}
} }
func (m *Configure) XXX_Unmarshal(b []byte) error { func (m *Configure) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Configure.Unmarshal(m, b) return xxx_messageInfo_Configure.Unmarshal(m, b)
@ -1450,7 +1450,7 @@ func (m *Configure_Request) Reset() { *m = Configure_Request{} }
func (m *Configure_Request) String() string { return proto.CompactTextString(m) } func (m *Configure_Request) String() string { return proto.CompactTextString(m) }
func (*Configure_Request) ProtoMessage() {} func (*Configure_Request) ProtoMessage() {}
func (*Configure_Request) Descriptor() ([]byte, []int) { func (*Configure_Request) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{11, 0} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{11, 0}
} }
func (m *Configure_Request) XXX_Unmarshal(b []byte) error { func (m *Configure_Request) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Configure_Request.Unmarshal(m, b) return xxx_messageInfo_Configure_Request.Unmarshal(m, b)
@ -1495,7 +1495,7 @@ func (m *Configure_Response) Reset() { *m = Configure_Response{} }
func (m *Configure_Response) String() string { return proto.CompactTextString(m) } func (m *Configure_Response) String() string { return proto.CompactTextString(m) }
func (*Configure_Response) ProtoMessage() {} func (*Configure_Response) ProtoMessage() {}
func (*Configure_Response) Descriptor() ([]byte, []int) { func (*Configure_Response) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{11, 1} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{11, 1}
} }
func (m *Configure_Response) XXX_Unmarshal(b []byte) error { func (m *Configure_Response) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Configure_Response.Unmarshal(m, b) return xxx_messageInfo_Configure_Response.Unmarshal(m, b)
@ -1532,7 +1532,7 @@ func (m *ReadResource) Reset() { *m = ReadResource{} }
func (m *ReadResource) String() string { return proto.CompactTextString(m) } func (m *ReadResource) String() string { return proto.CompactTextString(m) }
func (*ReadResource) ProtoMessage() {} func (*ReadResource) ProtoMessage() {}
func (*ReadResource) Descriptor() ([]byte, []int) { func (*ReadResource) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{12} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{12}
} }
func (m *ReadResource) XXX_Unmarshal(b []byte) error { func (m *ReadResource) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReadResource.Unmarshal(m, b) return xxx_messageInfo_ReadResource.Unmarshal(m, b)
@ -1564,7 +1564,7 @@ func (m *ReadResource_Request) Reset() { *m = ReadResource_Request{} }
func (m *ReadResource_Request) String() string { return proto.CompactTextString(m) } func (m *ReadResource_Request) String() string { return proto.CompactTextString(m) }
func (*ReadResource_Request) ProtoMessage() {} func (*ReadResource_Request) ProtoMessage() {}
func (*ReadResource_Request) Descriptor() ([]byte, []int) { func (*ReadResource_Request) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{12, 0} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{12, 0}
} }
func (m *ReadResource_Request) XXX_Unmarshal(b []byte) error { func (m *ReadResource_Request) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReadResource_Request.Unmarshal(m, b) return xxx_messageInfo_ReadResource_Request.Unmarshal(m, b)
@ -1610,7 +1610,7 @@ func (m *ReadResource_Response) Reset() { *m = ReadResource_Response{} }
func (m *ReadResource_Response) String() string { return proto.CompactTextString(m) } func (m *ReadResource_Response) String() string { return proto.CompactTextString(m) }
func (*ReadResource_Response) ProtoMessage() {} func (*ReadResource_Response) ProtoMessage() {}
func (*ReadResource_Response) Descriptor() ([]byte, []int) { func (*ReadResource_Response) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{12, 1} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{12, 1}
} }
func (m *ReadResource_Response) XXX_Unmarshal(b []byte) error { func (m *ReadResource_Response) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReadResource_Response.Unmarshal(m, b) return xxx_messageInfo_ReadResource_Response.Unmarshal(m, b)
@ -1654,7 +1654,7 @@ func (m *PlanResourceChange) Reset() { *m = PlanResourceChange{} }
func (m *PlanResourceChange) String() string { return proto.CompactTextString(m) } func (m *PlanResourceChange) String() string { return proto.CompactTextString(m) }
func (*PlanResourceChange) ProtoMessage() {} func (*PlanResourceChange) ProtoMessage() {}
func (*PlanResourceChange) Descriptor() ([]byte, []int) { func (*PlanResourceChange) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{13} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{13}
} }
func (m *PlanResourceChange) XXX_Unmarshal(b []byte) error { func (m *PlanResourceChange) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PlanResourceChange.Unmarshal(m, b) return xxx_messageInfo_PlanResourceChange.Unmarshal(m, b)
@ -1689,7 +1689,7 @@ func (m *PlanResourceChange_Request) Reset() { *m = PlanResourceChange_R
func (m *PlanResourceChange_Request) String() string { return proto.CompactTextString(m) } func (m *PlanResourceChange_Request) String() string { return proto.CompactTextString(m) }
func (*PlanResourceChange_Request) ProtoMessage() {} func (*PlanResourceChange_Request) ProtoMessage() {}
func (*PlanResourceChange_Request) Descriptor() ([]byte, []int) { func (*PlanResourceChange_Request) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{13, 0} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{13, 0}
} }
func (m *PlanResourceChange_Request) XXX_Unmarshal(b []byte) error { func (m *PlanResourceChange_Request) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PlanResourceChange_Request.Unmarshal(m, b) return xxx_messageInfo_PlanResourceChange_Request.Unmarshal(m, b)
@ -1749,6 +1749,18 @@ type PlanResourceChange_Response struct {
RequiresReplace []*AttributePath `protobuf:"bytes,2,rep,name=requires_replace,json=requiresReplace,proto3" json:"requires_replace,omitempty"` RequiresReplace []*AttributePath `protobuf:"bytes,2,rep,name=requires_replace,json=requiresReplace,proto3" json:"requires_replace,omitempty"`
PlannedPrivate []byte `protobuf:"bytes,3,opt,name=planned_private,json=plannedPrivate,proto3" json:"planned_private,omitempty"` PlannedPrivate []byte `protobuf:"bytes,3,opt,name=planned_private,json=plannedPrivate,proto3" json:"planned_private,omitempty"`
Diagnostics []*Diagnostic `protobuf:"bytes,4,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` Diagnostics []*Diagnostic `protobuf:"bytes,4,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
// This may be set only by the helper/schema "SDK" in the main Terraform
// repository, to request that Terraform Core >=0.12 permit additional
// inconsistencies that can result from the legacy SDK type system
// and its imprecise mapping to the >=0.12 type system.
// The change in behavior implied by this flag makes sense only for the
// specific details of the legacy SDK type system, and are not a general
// mechanism to avoid proper type handling in providers.
//
// ==== DO NOT USE THIS ====
// ==== THIS MUST BE LEFT UNSET IN ALL OTHER SDKS ====
// ==== DO NOT USE THIS ====
LegacyTypeSystem bool `protobuf:"varint,5,opt,name=legacy_type_system,json=legacyTypeSystem,proto3" json:"legacy_type_system,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"` XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"` XXX_sizecache int32 `json:"-"`
@ -1758,7 +1770,7 @@ func (m *PlanResourceChange_Response) Reset() { *m = PlanResourceChange_
func (m *PlanResourceChange_Response) String() string { return proto.CompactTextString(m) } func (m *PlanResourceChange_Response) String() string { return proto.CompactTextString(m) }
func (*PlanResourceChange_Response) ProtoMessage() {} func (*PlanResourceChange_Response) ProtoMessage() {}
func (*PlanResourceChange_Response) Descriptor() ([]byte, []int) { func (*PlanResourceChange_Response) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{13, 1} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{13, 1}
} }
func (m *PlanResourceChange_Response) XXX_Unmarshal(b []byte) error { func (m *PlanResourceChange_Response) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PlanResourceChange_Response.Unmarshal(m, b) return xxx_messageInfo_PlanResourceChange_Response.Unmarshal(m, b)
@ -1806,6 +1818,13 @@ func (m *PlanResourceChange_Response) GetDiagnostics() []*Diagnostic {
return nil return nil
} }
func (m *PlanResourceChange_Response) GetLegacyTypeSystem() bool {
if m != nil {
return m.LegacyTypeSystem
}
return false
}
type ApplyResourceChange struct { type ApplyResourceChange struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"` XXX_unrecognized []byte `json:"-"`
@ -1816,7 +1835,7 @@ func (m *ApplyResourceChange) Reset() { *m = ApplyResourceChange{} }
func (m *ApplyResourceChange) String() string { return proto.CompactTextString(m) } func (m *ApplyResourceChange) String() string { return proto.CompactTextString(m) }
func (*ApplyResourceChange) ProtoMessage() {} func (*ApplyResourceChange) ProtoMessage() {}
func (*ApplyResourceChange) Descriptor() ([]byte, []int) { func (*ApplyResourceChange) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{14} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{14}
} }
func (m *ApplyResourceChange) XXX_Unmarshal(b []byte) error { func (m *ApplyResourceChange) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ApplyResourceChange.Unmarshal(m, b) return xxx_messageInfo_ApplyResourceChange.Unmarshal(m, b)
@ -1851,7 +1870,7 @@ func (m *ApplyResourceChange_Request) Reset() { *m = ApplyResourceChange
func (m *ApplyResourceChange_Request) String() string { return proto.CompactTextString(m) } func (m *ApplyResourceChange_Request) String() string { return proto.CompactTextString(m) }
func (*ApplyResourceChange_Request) ProtoMessage() {} func (*ApplyResourceChange_Request) ProtoMessage() {}
func (*ApplyResourceChange_Request) Descriptor() ([]byte, []int) { func (*ApplyResourceChange_Request) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{14, 0} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{14, 0}
} }
func (m *ApplyResourceChange_Request) XXX_Unmarshal(b []byte) error { func (m *ApplyResourceChange_Request) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ApplyResourceChange_Request.Unmarshal(m, b) return xxx_messageInfo_ApplyResourceChange_Request.Unmarshal(m, b)
@ -1931,7 +1950,7 @@ func (m *ApplyResourceChange_Response) Reset() { *m = ApplyResourceChang
func (m *ApplyResourceChange_Response) String() string { return proto.CompactTextString(m) } func (m *ApplyResourceChange_Response) String() string { return proto.CompactTextString(m) }
func (*ApplyResourceChange_Response) ProtoMessage() {} func (*ApplyResourceChange_Response) ProtoMessage() {}
func (*ApplyResourceChange_Response) Descriptor() ([]byte, []int) { func (*ApplyResourceChange_Response) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{14, 1} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{14, 1}
} }
func (m *ApplyResourceChange_Response) XXX_Unmarshal(b []byte) error { func (m *ApplyResourceChange_Response) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ApplyResourceChange_Response.Unmarshal(m, b) return xxx_messageInfo_ApplyResourceChange_Response.Unmarshal(m, b)
@ -1989,7 +2008,7 @@ func (m *ImportResourceState) Reset() { *m = ImportResourceState{} }
func (m *ImportResourceState) String() string { return proto.CompactTextString(m) } func (m *ImportResourceState) String() string { return proto.CompactTextString(m) }
func (*ImportResourceState) ProtoMessage() {} func (*ImportResourceState) ProtoMessage() {}
func (*ImportResourceState) Descriptor() ([]byte, []int) { func (*ImportResourceState) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{15} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{15}
} }
func (m *ImportResourceState) XXX_Unmarshal(b []byte) error { func (m *ImportResourceState) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ImportResourceState.Unmarshal(m, b) return xxx_messageInfo_ImportResourceState.Unmarshal(m, b)
@ -2021,7 +2040,7 @@ func (m *ImportResourceState_Request) Reset() { *m = ImportResourceState
func (m *ImportResourceState_Request) String() string { return proto.CompactTextString(m) } func (m *ImportResourceState_Request) String() string { return proto.CompactTextString(m) }
func (*ImportResourceState_Request) ProtoMessage() {} func (*ImportResourceState_Request) ProtoMessage() {}
func (*ImportResourceState_Request) Descriptor() ([]byte, []int) { func (*ImportResourceState_Request) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{15, 0} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{15, 0}
} }
func (m *ImportResourceState_Request) XXX_Unmarshal(b []byte) error { func (m *ImportResourceState_Request) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ImportResourceState_Request.Unmarshal(m, b) return xxx_messageInfo_ImportResourceState_Request.Unmarshal(m, b)
@ -2068,7 +2087,7 @@ func (m *ImportResourceState_ImportedResource) Reset() { *m = ImportReso
func (m *ImportResourceState_ImportedResource) String() string { return proto.CompactTextString(m) } func (m *ImportResourceState_ImportedResource) String() string { return proto.CompactTextString(m) }
func (*ImportResourceState_ImportedResource) ProtoMessage() {} func (*ImportResourceState_ImportedResource) ProtoMessage() {}
func (*ImportResourceState_ImportedResource) Descriptor() ([]byte, []int) { func (*ImportResourceState_ImportedResource) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{15, 1} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{15, 1}
} }
func (m *ImportResourceState_ImportedResource) XXX_Unmarshal(b []byte) error { func (m *ImportResourceState_ImportedResource) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ImportResourceState_ImportedResource.Unmarshal(m, b) return xxx_messageInfo_ImportResourceState_ImportedResource.Unmarshal(m, b)
@ -2121,7 +2140,7 @@ func (m *ImportResourceState_Response) Reset() { *m = ImportResourceStat
func (m *ImportResourceState_Response) String() string { return proto.CompactTextString(m) } func (m *ImportResourceState_Response) String() string { return proto.CompactTextString(m) }
func (*ImportResourceState_Response) ProtoMessage() {} func (*ImportResourceState_Response) ProtoMessage() {}
func (*ImportResourceState_Response) Descriptor() ([]byte, []int) { func (*ImportResourceState_Response) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{15, 2} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{15, 2}
} }
func (m *ImportResourceState_Response) XXX_Unmarshal(b []byte) error { func (m *ImportResourceState_Response) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ImportResourceState_Response.Unmarshal(m, b) return xxx_messageInfo_ImportResourceState_Response.Unmarshal(m, b)
@ -2165,7 +2184,7 @@ func (m *ReadDataSource) Reset() { *m = ReadDataSource{} }
func (m *ReadDataSource) String() string { return proto.CompactTextString(m) } func (m *ReadDataSource) String() string { return proto.CompactTextString(m) }
func (*ReadDataSource) ProtoMessage() {} func (*ReadDataSource) ProtoMessage() {}
func (*ReadDataSource) Descriptor() ([]byte, []int) { func (*ReadDataSource) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{16} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{16}
} }
func (m *ReadDataSource) XXX_Unmarshal(b []byte) error { func (m *ReadDataSource) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReadDataSource.Unmarshal(m, b) return xxx_messageInfo_ReadDataSource.Unmarshal(m, b)
@ -2197,7 +2216,7 @@ func (m *ReadDataSource_Request) Reset() { *m = ReadDataSource_Request{}
func (m *ReadDataSource_Request) String() string { return proto.CompactTextString(m) } func (m *ReadDataSource_Request) String() string { return proto.CompactTextString(m) }
func (*ReadDataSource_Request) ProtoMessage() {} func (*ReadDataSource_Request) ProtoMessage() {}
func (*ReadDataSource_Request) Descriptor() ([]byte, []int) { func (*ReadDataSource_Request) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{16, 0} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{16, 0}
} }
func (m *ReadDataSource_Request) XXX_Unmarshal(b []byte) error { func (m *ReadDataSource_Request) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReadDataSource_Request.Unmarshal(m, b) return xxx_messageInfo_ReadDataSource_Request.Unmarshal(m, b)
@ -2243,7 +2262,7 @@ func (m *ReadDataSource_Response) Reset() { *m = ReadDataSource_Response
func (m *ReadDataSource_Response) String() string { return proto.CompactTextString(m) } func (m *ReadDataSource_Response) String() string { return proto.CompactTextString(m) }
func (*ReadDataSource_Response) ProtoMessage() {} func (*ReadDataSource_Response) ProtoMessage() {}
func (*ReadDataSource_Response) Descriptor() ([]byte, []int) { func (*ReadDataSource_Response) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{16, 1} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{16, 1}
} }
func (m *ReadDataSource_Response) XXX_Unmarshal(b []byte) error { func (m *ReadDataSource_Response) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReadDataSource_Response.Unmarshal(m, b) return xxx_messageInfo_ReadDataSource_Response.Unmarshal(m, b)
@ -2287,7 +2306,7 @@ func (m *GetProvisionerSchema) Reset() { *m = GetProvisionerSchema{} }
func (m *GetProvisionerSchema) String() string { return proto.CompactTextString(m) } func (m *GetProvisionerSchema) String() string { return proto.CompactTextString(m) }
func (*GetProvisionerSchema) ProtoMessage() {} func (*GetProvisionerSchema) ProtoMessage() {}
func (*GetProvisionerSchema) Descriptor() ([]byte, []int) { func (*GetProvisionerSchema) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{17} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{17}
} }
func (m *GetProvisionerSchema) XXX_Unmarshal(b []byte) error { func (m *GetProvisionerSchema) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetProvisionerSchema.Unmarshal(m, b) return xxx_messageInfo_GetProvisionerSchema.Unmarshal(m, b)
@ -2317,7 +2336,7 @@ func (m *GetProvisionerSchema_Request) Reset() { *m = GetProvisionerSche
func (m *GetProvisionerSchema_Request) String() string { return proto.CompactTextString(m) } func (m *GetProvisionerSchema_Request) String() string { return proto.CompactTextString(m) }
func (*GetProvisionerSchema_Request) ProtoMessage() {} func (*GetProvisionerSchema_Request) ProtoMessage() {}
func (*GetProvisionerSchema_Request) Descriptor() ([]byte, []int) { func (*GetProvisionerSchema_Request) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{17, 0} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{17, 0}
} }
func (m *GetProvisionerSchema_Request) XXX_Unmarshal(b []byte) error { func (m *GetProvisionerSchema_Request) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetProvisionerSchema_Request.Unmarshal(m, b) return xxx_messageInfo_GetProvisionerSchema_Request.Unmarshal(m, b)
@ -2349,7 +2368,7 @@ func (m *GetProvisionerSchema_Response) Reset() { *m = GetProvisionerSch
func (m *GetProvisionerSchema_Response) String() string { return proto.CompactTextString(m) } func (m *GetProvisionerSchema_Response) String() string { return proto.CompactTextString(m) }
func (*GetProvisionerSchema_Response) ProtoMessage() {} func (*GetProvisionerSchema_Response) ProtoMessage() {}
func (*GetProvisionerSchema_Response) Descriptor() ([]byte, []int) { func (*GetProvisionerSchema_Response) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{17, 1} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{17, 1}
} }
func (m *GetProvisionerSchema_Response) XXX_Unmarshal(b []byte) error { func (m *GetProvisionerSchema_Response) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetProvisionerSchema_Response.Unmarshal(m, b) return xxx_messageInfo_GetProvisionerSchema_Response.Unmarshal(m, b)
@ -2393,7 +2412,7 @@ func (m *ValidateProvisionerConfig) Reset() { *m = ValidateProvisionerCo
func (m *ValidateProvisionerConfig) String() string { return proto.CompactTextString(m) } func (m *ValidateProvisionerConfig) String() string { return proto.CompactTextString(m) }
func (*ValidateProvisionerConfig) ProtoMessage() {} func (*ValidateProvisionerConfig) ProtoMessage() {}
func (*ValidateProvisionerConfig) Descriptor() ([]byte, []int) { func (*ValidateProvisionerConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{18} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{18}
} }
func (m *ValidateProvisionerConfig) XXX_Unmarshal(b []byte) error { func (m *ValidateProvisionerConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ValidateProvisionerConfig.Unmarshal(m, b) return xxx_messageInfo_ValidateProvisionerConfig.Unmarshal(m, b)
@ -2424,7 +2443,7 @@ func (m *ValidateProvisionerConfig_Request) Reset() { *m = ValidateProvi
func (m *ValidateProvisionerConfig_Request) String() string { return proto.CompactTextString(m) } func (m *ValidateProvisionerConfig_Request) String() string { return proto.CompactTextString(m) }
func (*ValidateProvisionerConfig_Request) ProtoMessage() {} func (*ValidateProvisionerConfig_Request) ProtoMessage() {}
func (*ValidateProvisionerConfig_Request) Descriptor() ([]byte, []int) { func (*ValidateProvisionerConfig_Request) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{18, 0} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{18, 0}
} }
func (m *ValidateProvisionerConfig_Request) XXX_Unmarshal(b []byte) error { func (m *ValidateProvisionerConfig_Request) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ValidateProvisionerConfig_Request.Unmarshal(m, b) return xxx_messageInfo_ValidateProvisionerConfig_Request.Unmarshal(m, b)
@ -2462,7 +2481,7 @@ func (m *ValidateProvisionerConfig_Response) Reset() { *m = ValidateProv
func (m *ValidateProvisionerConfig_Response) String() string { return proto.CompactTextString(m) } func (m *ValidateProvisionerConfig_Response) String() string { return proto.CompactTextString(m) }
func (*ValidateProvisionerConfig_Response) ProtoMessage() {} func (*ValidateProvisionerConfig_Response) ProtoMessage() {}
func (*ValidateProvisionerConfig_Response) Descriptor() ([]byte, []int) { func (*ValidateProvisionerConfig_Response) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{18, 1} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{18, 1}
} }
func (m *ValidateProvisionerConfig_Response) XXX_Unmarshal(b []byte) error { func (m *ValidateProvisionerConfig_Response) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ValidateProvisionerConfig_Response.Unmarshal(m, b) return xxx_messageInfo_ValidateProvisionerConfig_Response.Unmarshal(m, b)
@ -2499,7 +2518,7 @@ func (m *ProvisionResource) Reset() { *m = ProvisionResource{} }
func (m *ProvisionResource) String() string { return proto.CompactTextString(m) } func (m *ProvisionResource) String() string { return proto.CompactTextString(m) }
func (*ProvisionResource) ProtoMessage() {} func (*ProvisionResource) ProtoMessage() {}
func (*ProvisionResource) Descriptor() ([]byte, []int) { func (*ProvisionResource) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{19} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{19}
} }
func (m *ProvisionResource) XXX_Unmarshal(b []byte) error { func (m *ProvisionResource) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ProvisionResource.Unmarshal(m, b) return xxx_messageInfo_ProvisionResource.Unmarshal(m, b)
@ -2531,7 +2550,7 @@ func (m *ProvisionResource_Request) Reset() { *m = ProvisionResource_Req
func (m *ProvisionResource_Request) String() string { return proto.CompactTextString(m) } func (m *ProvisionResource_Request) String() string { return proto.CompactTextString(m) }
func (*ProvisionResource_Request) ProtoMessage() {} func (*ProvisionResource_Request) ProtoMessage() {}
func (*ProvisionResource_Request) Descriptor() ([]byte, []int) { func (*ProvisionResource_Request) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{19, 0} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{19, 0}
} }
func (m *ProvisionResource_Request) XXX_Unmarshal(b []byte) error { func (m *ProvisionResource_Request) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ProvisionResource_Request.Unmarshal(m, b) return xxx_messageInfo_ProvisionResource_Request.Unmarshal(m, b)
@ -2577,7 +2596,7 @@ func (m *ProvisionResource_Response) Reset() { *m = ProvisionResource_Re
func (m *ProvisionResource_Response) String() string { return proto.CompactTextString(m) } func (m *ProvisionResource_Response) String() string { return proto.CompactTextString(m) }
func (*ProvisionResource_Response) ProtoMessage() {} func (*ProvisionResource_Response) ProtoMessage() {}
func (*ProvisionResource_Response) Descriptor() ([]byte, []int) { func (*ProvisionResource_Response) Descriptor() ([]byte, []int) {
return fileDescriptor_tfplugin5_84ffc2ac193fed94, []int{19, 1} return fileDescriptor_tfplugin5_0417c8e6dca655d3, []int{19, 1}
} }
func (m *ProvisionResource_Response) XXX_Unmarshal(b []byte) error { func (m *ProvisionResource_Response) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ProvisionResource_Response.Unmarshal(m, b) return xxx_messageInfo_ProvisionResource_Response.Unmarshal(m, b)
@ -3308,125 +3327,125 @@ var _Provisioner_serviceDesc = grpc.ServiceDesc{
Metadata: "tfplugin5.proto", Metadata: "tfplugin5.proto",
} }
func init() { proto.RegisterFile("tfplugin5.proto", fileDescriptor_tfplugin5_84ffc2ac193fed94) } func init() { proto.RegisterFile("tfplugin5.proto", fileDescriptor_tfplugin5_0417c8e6dca655d3) }
var fileDescriptor_tfplugin5_84ffc2ac193fed94 = []byte{ var fileDescriptor_tfplugin5_0417c8e6dca655d3 = []byte{
// 1862 bytes of a gzipped FileDescriptorProto // 1867 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x59, 0xcd, 0x6f, 0x1b, 0xc7, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x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dc, 0xad, 0xff, 0x05, 0x00,
0x07, 0x8d, 0x7d, 0x1b, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbc, 0x68, 0xf6, 0x08, 0xab, 0x1b, 0x00, 0x00,
} }

View File

@ -239,6 +239,20 @@ message PlanResourceChange {
repeated AttributePath requires_replace = 2; repeated AttributePath requires_replace = 2;
bytes planned_private = 3; bytes planned_private = 3;
repeated Diagnostic diagnostics = 4; repeated Diagnostic diagnostics = 4;
// This may be set only by the helper/schema "SDK" in the main Terraform
// repository, to request that Terraform Core >=0.12 permit additional
// inconsistencies that can result from the legacy SDK type system
// and its imprecise mapping to the >=0.12 type system.
// The change in behavior implied by this flag makes sense only for the
// specific details of the legacy SDK type system, and are not a general
// mechanism to avoid proper type handling in providers.
//
// ==== DO NOT USE THIS ====
// ==== THIS MUST BE LEFT UNSET IN ALL OTHER SDKS ====
// ==== DO NOT USE THIS ====
bool legacy_type_system = 5;
} }
} }

View File

@ -402,6 +402,8 @@ func (p *GRPCProvider) PlanResourceChange(r providers.PlanResourceChangeRequest)
resp.PlannedPrivate = protoResp.PlannedPrivate resp.PlannedPrivate = protoResp.PlannedPrivate
resp.LegacyTypeSystem = protoResp.LegacyTypeSystem
return resp return resp
} }

View File

@ -226,6 +226,13 @@ type PlanResourceChangeResponse struct {
// Diagnostics contains any warnings or errors from the method call. // Diagnostics contains any warnings or errors from the method call.
Diagnostics tfdiags.Diagnostics Diagnostics tfdiags.Diagnostics
// LegacyTypeSystem is set only if the provider is using the legacy SDK
// whose type system cannot be precisely mapped into the Terraform type
// system. We use this to bypass certain consistency checks that would
// otherwise fail due to this imprecise mapping. No other provider or SDK
// implementation is permitted to set this.
LegacyTypeSystem bool
} }
type ApplyResourceChangeRequest struct { type ApplyResourceChangeRequest struct {

View File

@ -216,7 +216,21 @@ func (n *EvalDiff) Eval(ctx EvalContext) (interface{}, error) {
return nil, diags.Err() return nil, diags.Err()
} }
for _, err := range objchange.AssertPlanValid(schema, priorVal, configVal, plannedNewVal) { if errs := objchange.AssertPlanValid(schema, priorVal, configVal, plannedNewVal); len(errs) > 0 {
if resp.LegacyTypeSystem {
// The shimming of the old type system in the legacy SDK is not precise
// enough to pass this consistency check, so we'll give it a pass here,
// but we will generate a warning about it so that we are more likely
// to notice in the logs if an inconsistency beyond the type system
// leads to a downstream provider failure.
var buf strings.Builder
fmt.Fprintf(&buf, "[WARN] Provider %q produced an invalid plan for %s, but we are tolerating it because it is using the legacy plugin SDK.\n The following problems may be the cause of any confusing errors from downstream operations:", n.ProviderAddr.ProviderConfig.Type, absAddr)
for _, err := range errs {
fmt.Fprintf(&buf, "\n - %s", tfdiags.FormatError(err))
}
log.Print(buf.String())
} else {
for _, err := range errs {
diags = diags.Append(tfdiags.Sourceless( diags = diags.Append(tfdiags.Sourceless(
tfdiags.Error, tfdiags.Error,
"Provider produced invalid plan", "Provider produced invalid plan",
@ -226,9 +240,9 @@ func (n *EvalDiff) Eval(ctx EvalContext) (interface{}, error) {
), ),
)) ))
} }
if diags.HasErrors() {
return nil, diags.Err() return nil, diags.Err()
} }
}
{ {
var moreDiags tfdiags.Diagnostics var moreDiags tfdiags.Diagnostics