I am using AWS and have created a role called LambdaRoleWithRDSAccess
with the following permissions:
{
"Statement": [
{
"Action": [
"ec2:CreateNetworkInterface",
"ec2:DescribeNetworkInterfaces",
"ec2:DeleteNetworkInterface"
],
"Effect": "Allow",
"Resource": "*"
},
{
"Action": "logs:CreateLogGroup",
"Effect": "Allow",
"Resource": "*"
},
{
"Action": [
"logs:CreateLogStream",
"logs:PutLogEvents",
"logs:DescribeLogStreams"
],
"Effect": "Allow",
"Resource": "*"
}
],
"Version": "2012-10-17"
}
I have then connected the role to the lambda function:
Despite that I dont see absolutely no logs for my lambdas on CloudWatch and I was wondering if someone might have an idea what the issue could be?