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年前1212ビュー
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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ