-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Lambda: SnapStart Warning #32210
Comments
Yes we should fix the grammar error. We welcome the PRs. To dismiss this warning, you can use cdk acknowledge for that. |
Thanks @pahud. Is there a "HOWTO" doc I could read to learn how to create the PR? |
We have an official contributing guide And you might be interested to read this blog of sharing as well Contributing to AWS CDK |
I may be missing something but if I run I instead had to add the following acknowledgement in my cdk code: cdk.Annotations.of(func).acknowledgeWarning(
'@aws-cdk/aws-lambda:snapStartRequirePublish',
); |
Comments on closed issues and PRs are hard for our team to see. |
1 similar comment
Comments on closed issues and PRs are hard for our team to see. |
### Issue #32210 Closes #32210 ### Reason for this change Incorrect grammar in a SnapStart warning that appears during cdk deployment. ### Description of changes Corrected the line: `SnapStart only support published Lambda versions. Ignore if function already have published versions` to: `SnapStart only supports published Lambda versions. Ignore if function already has published versions.` ### Describe any new or updated permissions being added No permissions changes. ### Description of how you validated changes No testing needed, only changed text in a warning. ### Checklist - [X] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Describe the issue
In trying out the new Python SnapStart feature, I see this warning
Since apparently the only way I can enable SnapStart is on the
Function
construct (and not on theVersionOptions
construct), it seems that "doing it right" with CDK entails getting this spurious warning?Also, the grammar of the warning seems a bit wrong: It would be better phrased as
SnapStart only supports published Lambda versions. Ignore if function already has published versions.
Links
This isn't technically a documentation issue, but, rather, a CDK deploy-time output issue, but since there's a grammar component, I thought maybe it belonged here.
The text was updated successfully, but these errors were encountered: