1

The title really says it all, I haven't been able to find any information on it, so I'm assuming it's not possible without external source control but is there any way to see what the difference between the lambda code currently deployed and what changes are waiting to be deployed?

2 Answers 2

1

The only way to compare versions of your function (at a code level comparison) is by using external source control options like git.

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks, I figured that was the case but I was hoping there was something I was missing
1

This answer will work with using the AWS built-in console code editor

  1. Select-all code in the code editor; Copy-paste to an external code editor; Save it with appropriate name.

  2. Control+click (Mac) or Right-mouse click (Windows) in AWS code editor; Select "Command Palette..." option; Select "Lambda: Reset function code" - This is the currently deployed Lambda without undeployed changes. Once again: Select-all; Copy-paste to external code editor, and Save with appropriate name.

  3. Now you can use a diff/comparison feature of your external code editor.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.