-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Template Validation Failing with v1.60.3 #7133
Template Validation Failing with v1.60.3 #7133
Comments
@justinrcs great thanks for report. Can you find with which version exactly this error happens? (Is it v1.60.1, v1.60.2 or v1.60.3?) Additionally can you minimize the serverless configuration example that reproduces that. So it doesn't involve any plugins, and so functions and resources are minimal? It might be related to you're provisioned concurrency setting. Can you confirm whether error happens when you not use it? And if it's the case, can you find minimal example that reproduces that? |
This is happening with v1.60.2+ (it works with 1.60.1 and below) I created a minimal config with no plugins:
Confirmed, if provisionedConcurrency is present, the template fails to validate. If I remove it, the API is deployed as expected. EDIT: This line is causing the problem: The serverless configs are dynamically generated at deploy time. We have three settings for concurrency per environment: 0, standard and high. Looks like this setting is invalid, we'll need to ignore it if set to 0. Thanks for the help |
Great thanks @justinrcs, will be fixed shortly with #7135 |
Bug Report
Description
What did you do?
Updated deploy container to use serverless version 1.60.3
Deploy serverless application via CI/CD process
What happened?
Deploy fails validation step:
What should've happened?
API should have passed validation and been deployed.
Previous versions (1.60.0 was the last release tested) have worked.
No code or configuration changes were made when the error occurred.
Reverting back to 1.60.0 succeeds without any modifications
Attempted to disable (comment-out) all plugins being used, same error occurs.
What's the content of your
serverless.yml
file?SLS_DEBUG=*
environment variable (e.g.SLS_DEBUG=* serverless deploy
)The text was updated successfully, but these errors were encountered: