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.