It’s Cybersecurity Awareness Month! Join our interactive training session, or learn about security and AI from 1Password experts.
Forum Discussion
Former Member
5 years agoCLI exiting with error code 133 on AWS Lambda
Dear One password
I'm currently trying to get the CLI up and running on in a AWS Lambda function running docker.
I'm running Alpine Linux v3.14 in a docker container. And locally everything see...
Former Member
5 years agoHi @Ben_1P
Thanks for the response.
I've went ahead and created a backup of the main branch (alpine linux)
The new updates to the master branch makes use of one of AWS's base container images and follows the "normal" lambda Dockerfile structure.
On aws Lambda where it fails
1) git clone https://github.com/whistleblowersoftware/op-test
2) Create Amazon ECR repo
3) Push the docker build up Amazon ECR
4) Create Lambda function from Amazon ECR repo
5) Run test on function and see it fail
Locally it can be testes and works:
1) git clone https://github.com/whistleblowersoftware/op-test && cd op-test
2) docker build -t test-one-password . --file=.Dockerfile && docker create -i test-one-password
3) docker run -p 9001:8080 test-one-password
4) curl -XPOST "http://localhost:9001/2015-03-31/functions/function/invocations" -d '{}'