You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tfprotov5+tfprotov6: Require FunctionServer in ProviderServer and MoveResourceState in ResourceServer
Reference: #353
Reference: #363
This removes the temporary handling to smoothly release the new Terraform 1.8 and later RPC handling for provider servers. These changes codify this Go module's desired design that it reflects the protocol via its required implementations.
logging.ProtocolError(ctx, "ProviderServer does not implement ResourceServerWithMoveResourceState")
912
-
913
-
protoResp:=&tfplugin5.MoveResourceState_Response{
914
-
Diagnostics: []*tfplugin5.Diagnostic{
915
-
{
916
-
Severity: tfplugin5.Diagnostic_ERROR,
917
-
Summary: "Provider Move Resource State Not Implemented",
918
-
Detail: "A MoveResourceState call was received by the provider, however the provider does not implement the call. "+
919
-
"Either upgrade the provider to a version that implements move resource state support or this is a bug in Terraform that should be reported to the Terraform maintainers.",
logging.ProtocolError(ctx, "ProviderServer does not implement FunctionServer")
964
-
965
-
text:="Provider Functions Not Implemented: A provider-defined function call was received by the provider, however the provider does not implement functions. "+
966
-
"Either upgrade the provider to a version that implements provider-defined functions or this is a bug in Terraform that should be reported to the Terraform maintainers."
logging.ProtocolError(ctx, "ProviderServer does not implement ResourceServerWithMoveResourceState")
912
-
913
-
protoResp:=&tfplugin6.MoveResourceState_Response{
914
-
Diagnostics: []*tfplugin6.Diagnostic{
915
-
{
916
-
Severity: tfplugin6.Diagnostic_ERROR,
917
-
Summary: "Provider Move Resource State Not Implemented",
918
-
Detail: "A MoveResourceState call was received by the provider, however the provider does not implement the call. "+
919
-
"Either upgrade the provider to a version that implements move resource state support or this is a bug in Terraform that should be reported to the Terraform maintainers.",
logging.ProtocolError(ctx, "ProviderServer does not implement FunctionServer")
964
-
965
-
text:="Provider Functions Not Implemented: A provider-defined function call was received by the provider, however the provider does not implement functions. "+
966
-
"Either upgrade the provider to a version that implements provider-defined functions or this is a bug in Terraform that should be reported to the Terraform maintainers."
0 commit comments