-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Description
Are you certain it's a bug?
- Yes, it looks like a bug
Is the issue caused by a plugin?
- It is not a plugin issue
Are you using the latest v3 release?
- Yes, I'm using the latest v3 release
Is there an existing issue for this?
- I have searched existing issues, it hasn't been reported yet
Issue description
When setting provider.runtime to `` I'm getting following warning:
Warning: Invalid configuration encountered
at 'provider.runtime': must be equal to one of the allowed values [dotnet6, go1.x, java17, java11, java8, java8.al2, nodejs14.x, nodejs16.x, nodejs18.x, provided, provided.al2, python3.7, python3.8, python3.9, python3.10, python3.11, ruby2.7, ruby3.2]However, it deploys just fine and lists Node.js 20 as the used runtime in AWS Lambda.
Service configuration (serverless.yml) content
service: cron-execute
frameworkVersion: "3"
provider:
name: aws
runtime: nodejs20.x
functions:
cronHandler:
handler: src/test.main
events:
- schedule: cron(0/10 * * * ? *)Command name and used flags
serverless deploy
Command output
N/AEnvironment information
Framework Core: 3.36.0 (local)
Plugin: 7.1.0
SDK: 4.4.0Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels