-
Hi All, I'm trying to create a CloudWatch logs SubscriptionFilter and getting "Cannot read properties of undefined (reading 'toString')" I've been through all of the documentation and examples I can find online, but the only related item was about passing a Function instead of a destination. I think I have that right. I'm at a loss with what to do with this error. Thanks for any help!
Code
The error line is the create for the subscription filter Full error below. Looks like something is wrong with the lambda destination. I also tried talking to the rubber ducky, but that didn't help either :-)
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Groan. OK, never mind. I had
But to import aws_Logs_destinations, NOT aws_lambda_destinations I will suggest that we improve the error here and/or name the modules so that this is more obvious. |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
Groan. OK, never mind.
I had
But to import aws_Logs_destinations, NOT aws_lambda_destinations
I will suggest that we improve the error here and/or name the modules so that this is more obvious.