I have an AWS Lambda function which fully works when tested locally using ATOM, within this it reads and writes to my s3 bucket. However when I upload the function to Lambda it doesn't seem to have access to S3. Whenever I try to read from S3 it simply times out after 3 minutes, even on simple requests like listing buckets.
I have increased the access of "Lambda Basic Execution" to have full admin access, and it still doesn't work.
Any ideas would be greatly appreciated.