aws / aws/aws-lambda-runtime-interface-emulator

Is it possible to test LambdaFunctionURL lambdas with aws-lambda-rie ?

Abierto
#99 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Go
Estrellas
1.1k
Forks
118
Merge medio
42 min
PR fusionados (30 d)
2

Descripción

I have a 2 lambdas:
* One that take a `CloudWatchEvent` as the second argument of the `Handle()`function
* One that take a `LambdaFunctionURLRequest`as the second argument of the `Handle()`function

I'm able to successfully test with `aws-lambda-rie`the first Lambda but not the second one

Even with a quite naive handler:
```
func Handle(ctx context.Context, request events.LambdaFunctionURLRequest) error {
log.Printf("body: %s", request.RawPath)
return nil
}
```

Is it possible to test this "new" kind of lambdas using `aws-lambda-runtime` ? Am I doing something wrong ?

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Start by reproducing the request with aws-lambda-rie using the Go Handle function and comparing the CloudWatchEvent and LambdaFunctionURLRequest cases. The issue names no repository files or tests; done means establishing whether LambdaFunctionURLRequest is supported and documenting or implementing the required behavior.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
aws, go
Área
cloud, tooling
Tipo de issue
Nueva funcionalidad
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.