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

asked 3 years ago1186 views
3 Answers
1

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

answered 3 years ago
0

I provided the answer.

answered 3 years ago
0

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

AWS
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions