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

질문됨 3년 전1280회 조회
3개 답변
1

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

답변함 3년 전
0

I provided the answer.

답변함 3년 전
0

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

AWS
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠