How to manually forcefully discard a aws lambda function in the cluster using aws console or aws cli for development and testing purposes ?
If you're using the UI, then a simple way to do this is to add or alter an environment variable on the function configuration page.
When you click "Save" the function will be reloaded.