Tag: lambda
-
How to list all lambda subscription filters to every Cloudwatch log group that you have
Recently i was working on a project that was listening to all our projects cloduwatch log groups and was forwarding them to Datadog. This adapter was doing some data enrichments of the log records and was also doing some obfuscation of sensitive data. At some point i wanted to find…
-
How to fix "Could not execute the lambda function. Make sure you have given CloudWatch Logs permission to execute your function" error in AWS
I've been banging my head around this Could not execute the lambda function. Make sure you have given CloudWatch Logs permission to execute your function error for couple hours. Was trying to update IAM role for the lambda with different combination, but no luck. After couple times reading documentation i…
-
Small trick on how to find out AWS payload for lambda for event
Recently i was writing a lot of different microservices using AWS Lambda. And for quite some time i was strugling to understand what will be the payload that my lambda will receive. Well, only in cases when this payload was coming from other AWS resources, of course :) Anyway, after quite…