Terraform Apply give me this output

Failed to instantiate provider “aws” to obtain schema: Unrecognized remote plugin message:

This usually means that the plugin is either invalid or simply
needs to be recompiled to support the latest protocol.

It’s possible that something broke in the tfstate. In my experience, when a plan or apply fails with that message, I wipe the .terraform folder (including the terraform.tfstate and terraform.tfstate.backup files) then do a terraform init to recreate them.

It helped me to resolve the issue. Thanks for your help.