44 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
2
votes
0
answers
96
views
Error starting aws lambda using bootstrap script in a container
I am trying to follow the directions from tailscale's site here: https://tailscale.com/kb/1113/aws-lambda
so that I can connect from an AWS Lambda to a Tailscale network.
Here is docker file:
# ---- ...
0
votes
1
answer
45
views
Why can't I run `from algorithm import foo` in `lambda_function.py` inside a docker container for AWS lambda function?
I'm following this tutorial to build a Docker image for an AWS lambda function that runs python 3.11.
When I run python lambda_function.py locally, it can successfully run from algorithm import foo as ...
0
votes
0
answers
579
views
Not able to install aws-lambda-ric on node:20-alpine base image
I am creating a dockerfile for my nodejs code to deploy on AWS lambda function using docker containers. I am using node:20-alpine base image but not able to install aws-lambda-ric.
this is my ...
0
votes
1
answer
134
views
docker container with aws lambda
I created a very simple nodejs application.
import express from 'express';
const app = express();
const PORT = 3712;
// Middleware to parse JSON bodies
app.use(express.json());
...
1
vote
1
answer
202
views
When building container in SAM it's getting stuck in building container?
When executing the sam build command, SAM generates a Docker container, but the process extends for 2-3 hours without completion.
However, upon removing snowflake-sqlalchemy from the requirements.txt ...
0
votes
0
answers
789
views
AttributeError: 'NoneType' object has no attribute 'split' with Python Selenium in AWS Lambda
I am trying to run a python script using Selenium in my AWS lambda but it's returning the below error:
File "/var/lang/lib/python3.11/site-packages/webdriver_manager/core/driver.py", line ...
0
votes
1
answer
454
views
Are AWS Lambda containers reused for different lambda functions?
I am using docker images for my lambda functions as our API with API GateWay. I read a bit about the execution context being persisted across lambda invocations assuming it doesn't go down after ...
1
vote
0
answers
446
views
How to create Lambda Docker Image from a non AWS base image?
I want to create lambda function from docker container. I know AWS provides base images for lambda function such as python:3.7, python:38, etc. But for some dependency reason I have to use python:3.8....
1
vote
0
answers
172
views
Lambda cannot location module: No module named 'runner'
I have been working on creating a custom image to use with my Lambda. I have a working Docker image that runs as expected on Fargate. To make the same image run on Lambda I install "awslambdaric&...
1
vote
1
answer
889
views
Getting error that files written to directory in /tmp (within Dockerfile) do not exist while running AWS Lambda with container image from ECR
My goal is to build a docker image with certbot installed and use that as the container image for my AWS Lambda function. I am able to build the image successfully with docker and get it running ...
-1
votes
1
answer
1k
views
Is there an Azure DevOps task to automatically deploy a new AWS Lambda *docker image*?
I have an AWS Lambda function that runs a Docker image I create in Azure Devops.
My Azure DevOps Pipeline contains a Docker build task, and then an ECRPushImage task to push that image to AWS.
...
0
votes
1
answer
57
views
Trivial GO lambda in IMAGE fails with /bin/sh: ./lambda-handler: Permission denied
I am using the aws provided docker file to build a SAM template. The sam build and deploy works as expected, however when calling the endpoint I get Internal Server Error with
/bin/sh: ./lambda-...
2
votes
0
answers
870
views
Do containers in Lambda container functions have access to all of the memory/cpu the lambda function has access to by default?
I am running a lambda container function. The lambda function is configured with 10240MB of memory. On execution of the lambda, my container is being killed with a SIGSEGV error, meaning it has run ...
0
votes
2
answers
102
views
Schedule Lambda from another Lambda
I have two lambda function and both written in Java. Assume A & B.. When A function got successfully executed then I want B function to be executed after 24 hours.
Is it possible to achieve? If ...
0
votes
1
answer
102
views
bash script: if condition not working as expected on AWS lambda container image
I've a lambda function which uses container image(Docker) and the main function is written in bash. I am facing issue in my conditional logic:
if [[ $cur_cert == *"ca-cert"* ]]; then
...