(lambda): adding events in constructor causes circular json #11726
Labels
@aws-cdk/aws-lambda
Related to AWS Lambda
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
When creating a lambda function, if the event sources are added in the constructor of the function cdk raises a circular json error.
Reproduction Steps
What actually happened?
When running
npx cdk list
this is the output:Environment
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: