shep
shep copied to clipboard
Missing lambda function policies with API gateway integration
After deploying and trying to test the endpoint directly with cURL, I'm getting 500 Internal Server Errors. When testing it from the console I see the specific error seems to be "Execution failed due to configuration error: Invalid permissions on Lambda function". It seems that the Lambda function doesn't have the policy added to allow API gateway to invoke it? Am I missing a step or shouldn't that already be configured?
This definitely sounds like a bug. The permissions should be setup properly by shep. Is this on a freshly deployed API? I can try and debug this today.