Reputation: 6414
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?
Upvotes: 0
Views: 960
Reputation: 1
This answer will work with using the AWS built-in console code editor
Select-all code in the code editor; Copy-paste to an external code editor; Save it with appropriate name.
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.
Now you can use a diff/comparison feature of your external code editor.
Upvotes: 0
Reputation: 100
The only way to compare versions of your function (at a code level comparison) is by using external source control options like git.
Upvotes: 1