Open mfcava opened 3 years ago
I have the same problem here, did you find any solution?
I removed the session token and it works
Sys.setenv(AWS_ACCESS_KEY_ID = Sys.getenv("s3_key")) Sys.setenv(AWS_SECRET_ACCESS_KEY = Sys.getenv("s3_secret")) Sys.setenv(AWS_DEFAULT_REGION = Sys.getenv("s3_region")) Sys.unsetenv("AWS_SESSION_TOKEN")
Hi, I'm trying to access an AWS S3 bucket within a lambda function with a custom docker image. I've setup a script to get a list of files with this code:
I've got no problem in running my script within docker but, as soon as I try the same function in lambda I got this error:
Maybe it's just my fault as I'm quite new to was-lambda but I still not get why the script works in my local docker.