Terraform import sftp users

I am trying to import sftp user in aws.
this is the command which I am using.
terraform import --var-file=…/…/environments/preprod.tfvars module.sftp.aws_transfer_user.sftp_user testmolina

I am getting this error.
│ The configuration for the given import module.sftp.aws_transfer_user.sftp_user does not exist. All target instances must have an associated configuration to be imported.

However, I am seeing that user is present in the console.

Terraform is telling you that module.sftp.aws_transfer_user.sftp_user does not correspond to something in the configuration, but I can’t say any more without a more complete example showing what you are actually doing.

Using an import block in the configuration may simplify the problem, since that has more features and can give better feedback about what is going to be planned.