aws / aws-lambda-base-images

Apache License 2.0
647 stars 107 forks source link

How to get Lambda Runtime Version ARNs? #90

Open DilLip-Chowdary-Codes opened 1 year ago

DilLip-Chowdary-Codes commented 1 year ago

Is there any official place to look for Lambda runtime version arns for all the lambda runtimes AWS Lambda supports?

In the Lambda runtime updates blog, you've mentioned to look at cloud watch logs to get the previous runtime version arn, what if I didn't invoke the lambda function in the previous version period, and now my lambda function runtime version was updated to latest.

jtuliani commented 1 year ago

Today, the CloudWatch log is the only source of runtime version ARNs. In the rare event of a runtime update incompatibility, this should enable you to roll back to a runtime version where your function was previously working (even if that is not the immediately prior runtime version).

We are considering adding an API that returns historical runtime version ARNs for each runtime. Can you give more details as to your use case / concern?