-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
chore: lint against constructing lambda handlers #28374
Conversation
Adds a custom lint rule that bans construction of constructs that create lambda handlers. This is to be used within `aws-cdk-lib` to push authors towards using our standard way of vending handlers using codegen tools in @aws-cdk/handler-framework.
8d33130
to
5935d88
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving since the dependency is merged. Looks like the build is failing though so gotta address that too
working on a small bug here that needs to be addressed for relative imports within |
@MrArnoldPalmer it looks like #28251 has been merged. If you're still working on this could you have a look at the merge conflicts so that this PR can be merged? |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MrArnoldPalmer looks like a couple integ tests in @aws-cdk/aws-s3objectlambda-alpha
violate the new linter rule. Could you have a look and update those files?
Closing this PR for staleness, please open a new PR if you'd like to continue working on this. |
Adds a custom lint rule that bans construction of constructs that create
lambda handlers. This is to be used within
aws-cdk-lib
to push authorstowards using our standard way of vending handlers using codegen tools
in @aws-cdk/handler-framework.
NOTE: depends on #28251
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license