amazon-web-servicesaws-lambda

How to discard changes in AWS lambda function inline editor?


So when I'm in the aws lambda function editor, if I type anything in the inline editor, I get "changes not deployed".

How do I discard my changes so that my text returns to how it was before my typing and the "changes not deployed" disappears? Must be something obvious, but I don't see a way to do it. Even closing the lambda function and reopning has it still there.

Thanks.


Solution

  • I have not found a way to do this directly from the editor menu items.

    However, if you go to the editor settings (shortcut ctrl-,), and search for the binding for resetlambdafunction, you can assign a key sequence that will revert the pending Lambda changes.

    Another option I found was to clear all cookies.