Although it says it is incorrect, we can still call the endpoint and the lambda will be called, hence I believe it is an issue with this specific trigger window in the console, the permission should be fine.
With this PR changes the console looks like this:
I also tested calling it and works as well, this is the approach that serverless framework uses.
Summary
This is a follow-up for #31
This change ended up introducing this issue:
Although it says it is incorrect, we can still call the endpoint and the lambda will be called, hence I believe it is an issue with this specific trigger window in the console, the permission should be fine.
With this PR changes the console looks like this:
I also tested calling it and works as well, this is the approach that
serverless
framework uses.