Reputation: 295
I created a simple Node.js script to connect to a RDS instance but sadly it always returns with timeout error. It is strange because it works perfectly from my machine.
The instance is public accessible and context.callbackWaitsForEmptyEventLoop = false;
have you got any idea?
Upvotes: 5
Views: 8071
Reputation: 3889
i have same error i fix with incress the timeout time
new aws UI
lambda function -> configuration -> General configuration -> Edit Timeout
Upvotes: 1
Reputation: 61
Lambda has a property of time out. Have you checked this configuration in the Lambda via console (Basic configuration) or in your deployment template file?
Upvotes: 4