Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permission errors #156

Open
danwdart opened this issue Dec 2, 2020 · 1 comment
Open

Permission errors #156

danwdart opened this issue Dec 2, 2020 · 1 comment

Comments

@danwdart
Copy link

danwdart commented Dec 2, 2020

/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
Copy link
Contributor

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants