aws-samples / aws-samples/lambda-ecs-worker-pattern
InvalidParameterValueExcexption - runtime parameter of nodejs is no longer supported for AWS Lambda functions
- Linguagem predominante
- POV-Ray SDL
- Estrelas
- 293
- Forks
- 46
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
I recieved the following error after running `fab setup`:
gg
Fatal error: local() encountered an error (return code 255) while executing 'aws lambda create-function --function-name ecs-worker-launcher --zip-file fileb://./ecs-worker-launcher.zip --role arn:aws:iam::622674099863:role/codeguru-Lambda-Execution-Role --handler ecs-worker-launcher.handler --runtime nodejs --region us-east-1 --profile codeguru --output json'
Aborting.
I tried running the failed command and failed again:
$ aws lambda create-function --function-name ecs-worker-launcher --zip-file fileb://./ecs-worker-launcher.zip --role arn:aws:iam::622674099863:role/codeguru-Lambda-Execution-Role --handler ecs-worker-launcher.handler --runtime nodejs --region us-east-1 --profile codeguru --output json
An error occurred (InvalidParameterValueException) when calling the CreateFunction operation: The runtime parameter of nodejs is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs4.3) while creating or updating functions.
It seems like this project uses a no longer supported api for lambda functions. How can I fix this?
Guia de contribuição
Direção de pesquisa
Start with the fab setup entry point and trace the AWS Lambda create-function command shown in the issue to where its --runtime value is configured. Check the supported Node.js runtime value, update the configuration, and rerun fab setup or the displayed AWS command to confirm the function can be created.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- aws, node.js
- Domínio
- backend, cloud
- Tipo de issue
- Bug
- Dificuldade
- 2/5
- Tempo estimado
- 1-3 horas
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 30/100