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
Regression: Serverless 1.33 does not properly support integers as external values #5534
Comments
Could you provide the relevant parts of your |
service: "issue"
provider:
name: "aws"
stage: "dev"
logRetentionInDays: "${opt:logRetentionInDays, self:custom.defaultLogRetentionInDays}"
runtime: "nodejs8.10"
functions:
hello:
handler: "handler.hello"
events: []
plugins: []
package:
artifact: "../../target/lambda.zip"
custom:
defaultLogRetentionInDays: 14 |
Ah.. What if you do:
(remove the quotes) |
Tho I wouldn't expect |
Confirming that removing the quotes does not change the outcome. Was the |
does |
Yes, |
Thanks for the details @Jaystified |
This is a Bug Report
Description
A
logRetentionInDays should be an integer over 0
error interrupts deployment when the logRetentionInDays value is provided externally (in my case via a shell command)Externally provided integer is properly interpreted and deployment completes successfully.
Trying to deploy a 60-day expiration log retention lambda to AWS.
logRetentionInDays should be an integer over 0
Node version is 8.10.0
Similar or dependent issues:
This forum post
This stackoverflow post
Not mine, but assuming same issue
Additional Data
logRetentionInDays should be an integer over 0
The text was updated successfully, but these errors were encountered: