'AWS Lambda upload by zip file not working

When I try to upload new version to a function in AWS Lambda, the option to upload a zip file is not allowed. (See the picture bellow)

enter image description here

It used to be able to choose the $latest version of a function and then to upload the zip file but now i cannot find it.

Any ideas what to do with this?



Solution 1:[1]

The problem was that the runtime of Node.js 10.x is no longer supported by AWS. It was needed to upgrade to Node.js14.x and after that, we could've update the version of our function.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Deesak