serverless-haskell icon indicating copy to clipboard operation
serverless-haskell copied to clipboard

Permission errors

Open danwdart opened this issue 5 years ago • 1 comments

/var/task is owned by aws_user:1000 now, but lambci/lambda:build-provided.al2 runs as sbx_user1051, which makes sls offline start die with permission errors like not being able to access /var/task.

How can this be rectified?

Using sls yaml config:

plugins:
  - serverless-haskell
  - serverless-offline

custom:
  haskell:
    docker: true
  serverless-offline:
    useDocker: true
    printOutput: true

Ta!

danwdart avatar Dec 02 '20 12:12 danwdart

Thank you for reporting this issue.

sls offline is tested in the integration test (integration-test/run.sh), and that currently passes - are you able to modify it to show what's failing for you?

koterpillar avatar Dec 13 '20 06:12 koterpillar