Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
InvokePermission not automatically added to Lambda when triggered via Cloudwatch Rule #555
Trying wire up an EventRule as an input/trigger to a Lambda function but the permission to allow Cloudwatch to invoke the Lambda is not being added automatically.
e.g. would expect the following to add the permission automatically but doesn't
Have to add this code in to get the permission added:
Output from cdk synth shows this:
@eladb suspected in a gitter chat this was because the sourceArn is missing.