Reputation: 327
I'm writing some Python code on AWS Lambda. I haven't used AWS for a few months and I noticed that when I hit the TEST button the test no longer runs on the latest code that I've entered into the Lambda editor, even when I save the code. After some playing around I've found I need to press the DEPLOY button first, then my test runs fine.
Is this right? Surely I should be able to test my code before deploying it. The official AWS documentation doesn't specify that deploying is necessry to run a test.
Upvotes: 13
Views: 3971
Reputation: 304
Yes, The Deploy
button is updating the code, The Test
button just Invoke your lambda with a test Event (That can be configured)
Upvotes: 11