How to Mount an EFS in WSL2

0

I´m trying the same using WSL2 to mount an EFS (I don´t have access to any Linux Distro because I rely on a corporate VPN). I must move some data from a Docker container to EFS on the first run. I read that I could do that with an IAM user but I can't create one for corporate reasons.

From my side, I already configured the efs-utils in my Ubuntu running under WSL2 but every time, I´m trying to mount the EFS, I´m getting this error:
Error retrieving region. Please set the "region" parameter in the efs-utils configuration file.

I already set my region in both files that I found in my PC (I couldn´t find more):
• ./efs-utils/build/debbuild/etc/amazon/efs/efs-utils.conf
• ./efs-utils/dist/efs-utils.conf

Do you have any idea where the efs-utils.conf file you require is located? I cannot find more files beyond those two locations on my PC.

Thanks for your time.

Edited by: fanmixco on May 14, 2021 4:38 AM

demandé il y a 3 ans1211 vues
3 réponses
1

You need to go manually to the root (/) and there you will find /etc/amazon and there is the file.

répondu il y a 3 ans
0

I provided the answer.

répondu il y a 3 ans
0

The efs-utils config file normally located at /etc/amazon/efs/efs-utils.conf. Did you check there?

AWS
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions