Skip to content

Instantly share code, notes, and snippets.

@rowanu
Last active March 22, 2024 00:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rowanu/580936bd8bca503ed03ab0242fe9d896 to your computer and use it in GitHub Desktop.
Save rowanu/580936bd8bca503ed03ab0242fe9d896 to your computer and use it in GitHub Desktop.
All deprecated Lambda runtimes in an AWS account
aws lambda list-functions \
--output text \
--query 'Functions[?
Runtime!=`nodejs20.x` &&
Runtime!=`nodejs18.x` &&
Runtime!=`nodejs16.x` &&
Runtime!=`python3.12` &&
Runtime!=`python3.11` &&
Runtime!=`python3.10` &&
Runtime!=`python3.9` &&
Runtime!=`python3.8` &&
Runtime!=`java21` &&
Runtime!=`java17` &&
Runtime!=`java11` &&
Runtime!=`java8.al2` &&
Runtime!=`dotnet8` &&
Runtime!=`dotnet7` &&
Runtime!=`dotnet6` &&
Runtime!=`ruby3.2` &&
Runtime!=`provided.al2023` &&
Runtime!=`provided.al2`
].[FunctionName,Runtime,LastModified,FunctionArn]' > all-deprecated-runtime-lambda-functions.tsv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment