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

feita há 3 anos1256 visualizações
3 Respostas
1

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

respondido há 3 anos
0

I provided the answer.

respondido há 3 anos
0

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

AWS
respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas