gkrizek/bash-lambda-layer

aws cli timing out

ethanpost opened this issue · 2 comments

All other bash commands are working great and "which aws" returns the path to the aws client. However, anytime I try to run aws command it times out, even "aws --version" which should not require any kind of credentials or network connections. I even set timeout to 10 seconds. Just hangs on the aws binary.

Increased memory and now it runs. Have other issues but will open a new issue for that.

I had to add HOME=/tmp to my function. Also had to use AWS_* vars but added "2" to end so I could reference them in my code or they got over-written. Now working well.