Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function level runtime parameter does not work. #548

Open
privatejava opened this issue Aug 2, 2024 · 0 comments
Open

Function level runtime parameter does not work. #548

privatejava opened this issue Aug 2, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@privatejava
Copy link

Describe the bug
Currently, I started a simple serverless project that contains the runtime: node20.x trying to deploy for AWS. But it only works if the runtime is defined in the provider level. If I use it in the function level only then it fails.

To Reproduce
Set runtime: nodejs20.x at function level only and remove runtime from provider.

Then Run sls package

Expected behavior
It should work in any level of runtime definition.

Screenshots or Logs
2024-08-02_14-38

Versions (please complete the following information):

  • OS: Linux , Ubuntu 22.04
  • Serverless Framework Version: 3.39.0
  • Plugin Version: 1.52.1
@privatejava privatejava added the bug Something isn't working label Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant