seek-oss / serverless-haskell

Deploying Haskell applications to AWS Lambda with Serverless
MIT License
215 stars 22 forks source link

Permission errors #156

Open danwdart opened 3 years ago

danwdart commented 3 years ago

/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!

koterpillar commented 3 years ago

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?