1 Answer
- Newest
- Most votes
- Most comments
1
I could not find an API call that lists the deprecated runtimes. They are listed in the documentation.
Using those values, the following CLI command will find functions that are using them:
aws lambda list-functions \
--output table \
--query 'Functions[?Runtime==`dotnetcore2.1` || Runtime==`python2.7` || Runtime==`ruby2.5` || Runtime==`nodejs10.x` || Runtime==`nodejs8.10` || Runtime==`nodejs
6.10` || Runtime==`nodejs4.3-edge` || Runtime==`nodejs4.3` || Runtime==`nodejs` || Runtime==`dotnetcore2.0` || Runtime==`dotnetcore1.0`].[FunctionName,Runtime,Version,Fu
nctionArn]'
Apologies for the confusion. I'm particularly looking for list of my functions that are using a deprecated runtime.
Is there a way to add the "last execution date" for each function to this list?
Relevant content
- asked 2 years ago
- asked 10 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
Do you mean a list of your functions which are using a deprecated runtime, or a list of the runtimes which are deprecated?
Hi @James_S - Apologies for the confusion. I'm particularly looking for list of my functions that are using a deprecated runtime.