aws / aws/aws-lambda-runtime-interface-emulator
Is it possible to test LambdaFunctionURL lambdas with aws-lambda-rie ?
- Linguagem predominante
- Go
- Estrelas
- 1.1k
- Forks
- 118
- Merge médio
- 42min
- PRs com merge (30d)
- 2
Descrição
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 ?
Guia de contribuição
Direção de pesquisa
Comece reproduzindo a requisição com aws-lambda-rie usando a função Go Handle e comparando os casos CloudWatchEvent e LambdaFunctionURLRequest. A issue não nomeia arquivos ou testes do repositório; concluir significa estabelecer se LambdaFunctionURLRequest é compatível e documentar ou implementar o comportamento necessário.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- aws, go
- Domínio
- cloud, tooling
- Tipo de issue
- Funcionalidade
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Precisa de esclarecimento
- Facilidade para iniciantes
- 25/100