Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
Filter by
Sorted by
Tagged with
1 vote
3 answers
4k views

I am attempting to deploy an aws lambda function written in golang. However i get the following error: Couldn't find valid bootstrap(s): [/var/task/bootstrap /opt/bootstrap] IntradaySchedulerLfn ...
Kay's user avatar
  • 19.9k
1 vote
1 answer
2k views

I am using Lambda web adapter to run a Image from AWS-ECR. I am getting the below error during invocation. When this error is encountered, Lambda is invoked again. Cloudwatch logs: EXTENSION Name: ...
Arun's user avatar
  • 87
1 vote
0 answers
235 views

I am trying to build a rest api with Go using lambda and api gateway. In the api, I want to process the raw request body bytes without any base64 conversion in middle. I am able to receive base64 ...
Swati's user avatar
  • 13
0 votes
1 answer
57 views

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-...
Jared Zwick's user avatar
2 votes
0 answers
205 views

I have an AWS lambda written in Go which is invoked using: aws lambda invoke … I am setting session (sts) tags before invoking the lambda. Is there a way from within the lambda to get the session of ...
dolan's user avatar
  • 1,814
1 vote
1 answer
1k views

I'm new to Golang. I can't seem to supply the argument needed to work with adapter.ProxyWithContext. According to this https://pkg.go.dev/github.com/awslabs/[email protected]/gorillamux#...
woninana's user avatar
  • 3,489
1 vote
1 answer
3k views

I have a go script and I am making Terraform resource aws_lambda_function with runtime configurations as such : handler = "main" memory_size = 512 timeout = 360 runtime = ...
Urvashi Sharma's user avatar
6 votes
1 answer
5k views

Looking at the Using global state section in the official AWS Lambda function handler in Go doc https://docs.aws.amazon.com/lambda/latest/dg/golang-handler.html suggests to initialise all global state ...
Sriraghavan Subramanian's user avatar
-4 votes
1 answer
1k views

I'm trying to write simple POST serverless Go AWS lambda function. package main import ( "fmt" ) import ( "encoding/json" "github.com/aws/aws-lambda-go/events&...
Valor_'s user avatar
  • 3,611
0 votes
1 answer
1k views

I'm writing my first golang api with aws lambda. The idea being to be able to record audio from a browser and save as an object in s3. I've gotten to the point of being able to save an object in the ...
Seth Brotherton's user avatar
1 vote
1 answer
237 views

I am using the AWS Lambda function named 'compress' by 'evanchiu' I have set the source folder and destination folder. Both folders have 'Objects can be public' permission. I am uploading images to ...
Chakra's user avatar
  • 2,565
0 votes
2 answers
859 views

I've done the following in PowerShell in VSCode: PS D:\Project Resume> set GOOS=linux PS D:\Project Resume> set GOARCH=amd64 PS D:\Project Resume> set CGO_ENABLED=0 PS D:\Project Resume> ...
Kieran Ojakangas's user avatar
0 votes
1 answer
158 views

I'm just trying to pick up Golang in the AWS Lambda flavor. I feel like the answer here is super simple, but I can't put my finger on it, nor could I find a post similar to this problem just yet. //...
Kieran Ojakangas's user avatar
0 votes
0 answers
385 views

I was looking into a piece of code of creating a simple lambda function with go which returns a dummy value when invoked. package main import ( "github.com/aws/aws-lambda-go/lambda" ) ...
Naxi's user avatar
  • 2,264
3 votes
1 answer
6k views

I am using Netlify functions for an API, most of which is working perfectly fine, apart from when I am needing to access URL parameters Here is a snippet of what I have to get the parameter: func ...
Liam Clarke's user avatar
0 votes
1 answer
1k views

I have created a webhook for Twilio on AWS API Gateway, which is sending the request in application/x-www-form-urlencoded Content-Type. I am unable to write or find a mapping template for Golang. I am ...
Rahul Satal's user avatar
  • 2,257
1 vote
0 answers
222 views

I'm developing an aws based application entirely in golang though I have a piece of python code I need to invoke in a lambda function as a separate subprocess. The python code is written as a CLI ...
CaptainRR's user avatar
  • 431
3 votes
1 answer
1k views

I created a "hellogo" lambda, and tried to run it locally using sam package sam deploy sam local start-api accessing : http://localhost:3000/hellogo The docker has the hellogo folder shared in ...
Espresso's user avatar
  • 5,771
1 vote
0 answers
754 views

It seems like a very simple thing but my connection times out every time. Here is the code in the Lambda function (written in Go) package main import ( "database/sql" "log" _ "github....
Michael MacDonald's user avatar
13 votes
1 answer
10k views

First off, one might say this question is very similar to HTTP request body not getting to AWS lambda function via AWS API Gateway or Getting json body in aws Lambda via API gateway However, none of ...
Bimde's user avatar
  • 742
2 votes
1 answer
8k views

I have the lambda function pushed as I can see it in localstack, based on below command/output aws lambda get-function --function-name books1 --endpoint-url=http://localhost:4574 { "Code": { ...
curiousengineer's user avatar
0 votes
2 answers
2k views

I had a lambda function written in Golang. And I was trying to publish a message to SNS topic from lambda function before the lambda is executed . Is it possible to do so?
rsram312's user avatar
  • 141
0 votes
1 answer
559 views

I need to uniquely identify the message I'm sending from the lambda to some consumer. What unique information can I utilize to create the unique ID for each message I'm sending out? I can send few ...
S2201's user avatar
  • 1,367
42 votes
2 answers
28k views

I have a go application, structured like this: cmd|reports|main.go main.go imports internal/reports package and has a single function, main(), which delegates call to aws-lambda-go/lambda.Start() ...
Ivan's user avatar
  • 986
5 votes
1 answer
7k views

I'm building an aws lambda using aws-sdk-go and aws-lambda-go and I'm stuck with a little problem. I want to test my lambda handler. To do so, I need to mock a valid context.Context containing valid ...
AndreaM16's user avatar
  • 4,005