Error: Provider configuration not present │ │ To work with module.aws-dev.aws_key_pair.chaveSSH (orphan) its original provider configuration at │ module.aws-dev.provider["registry.terraform.io/hashicorp/aws"] is required, but it has been removed. This│ occurs when a provider configuration is removed while objects created by that provider still exist in the│ state. Re-add the provider configuration to destroy module.aws-dev.aws_key_pair.chaveSSH (orphan), after│ which you can remove the provider configuration again. ╵ ╷ │ Error: Provider configuration not present │ │ To work with module.aws-dev.aws_instance.app_server (orphan) its original provider configuration at │ module.aws-dev.provider["registry.terraform.io/hashicorp/aws"] is required, but it has been removed. This│ occurs when a provider configuration is removed while objects created by that provider still exist in the│ state. Re-add the provider configuration to destroy module.aws-dev.aws_instance.app_server (orphan), after│ which you can remove the provider configuration again.
Já inclusive copiei os arquivos do modulo mas o erro acima continua ocorrendo.